Skip to Content
author's profile photo Former Member
Former Member

SAP Web AS 6.20 J2EE-Engine ProxyGenerator

Hello,

has anyone used the ProxyGenerator delivered with SAP WAS 6.20 J2EE-Engine successfully?

When I did not succeed in generating proxies for my own webservice, I tried to generate a proxy for the calc example (calc.wsdl). Invoking the ProxyGenerator as described below, I got the following exception

Invocation: java com.inqmy.lib.wsdl.ProxyGenerator calc.wsdl .

<#### stacktrace ####>

Exception in thread "main" java.lang.Exception: Name space error !<<<>>> never

mapped

at com.inqmy.lib.xml.util.NamespaceContainer.demapPrefix(NamespaceContai

ner.java:35)

at com.inqmy.lib.xml.parser.handlers.NormalizeDocHandler.endPrefixMappin

g(NormalizeDocHandler.java:290)

at com.inqmy.lib.xml.parser.XMLParser.endPrefixMapping(XMLParser.java:25

28)

at com.inqmy.lib.xml.parser.handlers.NamespaceHandler.levelDown(Namespac

eHandler.java:181)

at com.inqmy.lib.xml.parser.XMLParser.scanEndTag(XMLParser.java:1738)

at com.inqmy.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1657)

at com.inqmy.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2164)

at com.inqmy.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1654)

at com.inqmy.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2164)

at com.inqmy.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1654)

at com.inqmy.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2164)

at com.inqmy.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1654)

at com.inqmy.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2503)

at com.inqmy.lib.xml.parser.XMLParser.parse0(XMLParser.java:139)

at com.inqmy.lib.xml.parser.AbstractXMLParser.parseAndCatchException(Abs

tractXMLParser.java:110)

at com.inqmy.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.ja

va:137)

at com.inqmy.lib.wsdl.ProxyGenerator.generateProxy(ProxyGenerator.java:9

3)

at com.inqmy.lib.wsdl.ProxyGenerator.main(ProxyGenerator.java:453)

</#### stacktrace ####>

Did anyone of you run into similar problems? Is there a known solution to this problem?

Best regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Oct 22, 2003 at 06:41 PM

    Hi,

    it seems you are trying to use the proxies for web services? This was not the general purpose, as it is of course possible to do so. BUT: The fact that the generator tells you something about WSDL during runtime does not mean this is generating anything web service like. It just uses this description to generate a java proxy.

    Oh, just got it! You are trying to make a proxy for beans? This generator only delivers proxies for BAPI's! You have to run it from a batch that should be in Windows Start menu after installation.

    There is a description how to use this stuff in sapnet (will be soon here too). Go to alias /webas and drill down to HowTo's.

    All others_: This is 6.20!

    Regards,

    Benny

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 23, 2003 at 11:31 AM

    Hi Christian,

    Did you already find a solution to your problem ?

    Can you tell us the version of the Engine you are using - check <server>/managers/version.txt ?

    I checked SP16 from ServiceMarketplace (patchlevel 61200.20)

    and received the following :

    D:\Test\SDN-SoapDispatcher>set CLASSPATH=.;\lib\activation.jar;.\lib\inqmy-lib.jar;.\lib\inqmysoap.jar;.\lib\inqmyxml.ja

    r;.\lib\mail.jar

    D:\Test\SDN-SoapDispatcher>java -cp .;\lib\activation.jar;.\lib\inqmy-lib.jar;.\lib\inqmysoap.jar;.\lib\inqmyxml.jar;.\l

    ib\mail.jar com.inqmy.lib.wsdl.ProxyGenerator ./calc.wsdl . -c

    InQMy SOAP Proxy Generator

    • Generating Proxy from:./calc.wsdl

    • To directory:.

    D:\Test\SDN-SoapDispatcher\.

    javac -classpath "D:\Test\SDN-SoapDispatcher;.;\lib\activation.jar;.\lib\inqmy-lib.jar;.\lib\inqmysoap.jar;.\lib\inqmyxm

    l.jar;.\lib\mail.jar;" -d "D:\Test\SDN-SoapDispatcher" D:\Test\SDN-SoapDispatcher\calcservice\*.java

    • Done

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 07, 2003 at 02:16 PM

    Hello,

    thanks a lot. I updated my J2EE Engine and now the tool works...

    bye

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.