Create WebService - Client / Proxy in DevStudio 7.1

Is it a known issue in DevStudio 7.1:
1)  create WSDL file -> right click -> WebServices -> Generate Java Bean skeleton, and I see:
"SAP Server does not support the Apache Axis Web service runtime. Choose a different server or runtime to proceed through the Web services wizard.",
   Server:  SAP Server
   WevServiceRuntime:  ApacheAxis  (no options available, except this one)
Why here is only one option for Runtime?  How to create Skeleton?
2)  create WSDL file -> right click -> WebServices  -> Generate Client,
And here I don't see the warning message about Apache Axis, since:
     Server: SAP Server
     WebServiceRuntime: SAP NetWeaver  (2 options available)
I click Next->Finish, and I got error:
   "Error: IWAB0014E: Unexpected exception occurred" 
IWAB0014E Unexpected exception occured.
StackTrace (see below in details):   java.lang.NullPointerException
      at com.sap.engine.interfaces.webservices.runtime.HTTPProxy.setExcludeList(HTTPProxy.java:52)
      at com.sap.ide.es.ws.consumer.jaxws.runtime.internal.consumer.impl.IDEProxyResolver.<init>(IDEProxyResolver.java:23)
      at com.sap.ide.es.ws.consumer.jaxws.runtime.internal.consumer.impl.ProxyGeneratorImpl.downloadWSDLs(ProxyGeneratorImpl.java:474)
      at com.sap.ide.es.ws.consumer.jaxws.runtime.internal.consumer.impl.ProxyGeneratorImpl.downloadWSDLs(ProxyGeneratorImpl.java:445)
      at com.sap.ide.es.ws.consumer.jaxws.runtime.internal.consumer.impl.ProxyGeneratorImpl.generateProxy(ProxyGeneratorImpl.java:220)
      at com.sap.ide.es.ws.common.core.consumer.ProxyGenerationCommand.execute(ProxyGenerationCommand.java:69)
      at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(CommandFragmentEngine.java:413)
What is wrong?  Configuration?

It looks like, the situation with "Client Generation: Error" occures, if Proxy is enabled in Eclipse. If it's disabled, client is generated.
But the first question still remains.

Similar Messages

  • Create a Client Proxy for consume wsdl via https URL return a 110 HTTP code

    Dear all.
    I has new in this forum, and i have a problem when trie to create a client proxy from external WSDL, using https URL, system returns me a 110 http code. For others externs WSDL called via http don´t have any problem, and create client proxy perfect
    Someone can help please.
    best regards in advance.

    Dear Anton I download de WSDL definition in a local file, but when I trie to use, the error persist.
    If I test de URL via WebService navigation option, this work correctly, but if I put this URL thats begins with https, in se80--> create client proxy -->insert URL and then system returns the message HTTP error (return code 110, message "") 
    What it´s happen?.
    Best regards in advance.
    Juliá

  • Problems creating a client proxy for a WS

    I've tried creating a client proxy from a wsdl but I've had no luck getting it to work.
    First of all I created the client proxy in se80 with instructions from a teched lecture. The proxy seems to be generated as intended. When I create the default logical port for the proxy in lpconfig, it doesn't get any URL at all by default in the Call Parameters tab. Atleast in the teched demo the logical port got the default URL straight away.
    Therefore I opened the wsdl file with notepad and put the address that was specified in the soap:address element as the location attribute. After saving and activating both the logical port and the client proxy I tried testing the proxy. All the methods give the same following error message:
    Sap Fault Code 1:
    Found 0 operation definitions using keys...
    The WS works fine from the WS Navigator test page though. If I change the logical port URL I get an "Unsupported xstream found" error message. Thus I assume the URL that I took from the wsdl should be correct. Can I assume the wsdl is somehow broken? As I look closer at the wsdl, it seems to consist of several wsdl's that are imported to the main wsdl.

    Hi Evan,
    I don't think the wsdl is broken. I assume your webservice is deployed on WAS. Typically the SAP wsdl consist of 3 files, main wsdl file and 2 other files for binding and porttypes.
    When all three files are appropriately available then only the proxy gets generated.
    Since in your case the proxy is generated and you could activate it, means there is no problem in the wsdl.
    Are there any further details in your error?
    Does your service methods require any input and you are providing the input appropriately?
    Regards,
    Vandana.

  • Issue while trying to create a Client Proxy

    Hello,
    I am new to this field of using web services, so maybe i am missing something here. I need to consume a webservice in ABAP. So these are the steps that I performing
    1. Goto Se80 and select Enterprise Services and select Client proxy ->Create
    2. Select radiobutton for Local file (I have the WSDL file saved on my desktop) Entered the path of the local file.
    3. Requested it to be saved as a local object witha prefix as ZFR_
    4 Click on Complete on the wizard.
    I get an error on this Exception occured in library handler.
    Exception occured in communication framework. Error in file upload.
    Am I missing something. Do I have to configure anything before I can create a Client proxy. I need to use as it creates a class and that needs to be invoked in the ABAP program.
    Please suggest.
    Thanks and Regards
    Sachin

    Follow the following steps.
    Go To SE80
    then select Package name in which u are suppose to work
    then Right click on Enterprise service
    then right click on Client Proxies and then create
    You have local WSDL file so select local file selection
    then select file from local file with browse
    then select package name and give prefix name
    then save and activate it. ( note down abap name ).
    Regards,
    Chintan Contractor

  • Exceptions while creating ABAP client Proxy

    Hi Experts,
    I tried to create a client proxy on the CRM system for a web service URL (where the WSDL exists), in the transaction SE80.
    When I tried creating this, i got exception as follows.
    Exception occured in communication framework:error in HTTP framework:404 conn failed http://inld50054696a:8080/clearspace/rpc/rest?forumservice?wsdl
    Please let me know, how to tackle this problem.
    What are all the settings that needs to be done in this regard.
    Regards
    Lakshman

    Have you verified that your SAP system is set up to be able to send messages out over http?  Our firewalls caused the same problem- by configuring proxy settings in transaction SICF we worked around the error.
    Hope that helps!
    Abby

  • Exception when creating ABAP client proxy using WSDL

    Hi Experts,
    I tried to create a client proxy on the CRM system for a web service URL (where the WSDL exists), in the transaction SE80.
    When I tried creating this, i got exception as follows.
    Exception occured in communication framework:error in HTTP framework:404 conn failed http://inld50054696a:8080/clearspace/rpc/rest?forumservice?wsdl
    Please let me know, how to tackle this problem.
    What are all the settings that needs to be done in this regard.
    Regards
    Lakshman

    Hi Vasanth,
    There are many threads and blogs on this topic.
    Choose the search Forum on the Forum page and select "All categories" in the Category field and enter your topic "ABAP client proxy from WSDL" in the search field.
    Rgds,
    Sam Raju

  • Error while creating a client proxy for CBR.RU

    Hi!
    I need to consume web service. Here is the link: http://www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx?WSDL
    I tried to make an own client proxy with SE80 transaction. (edit object->enterprise services -> client proxy -> create) After completing wizard an error occurs with text:
    Incorrect value: Unknown Namespace http://www.w3.org/2001/XMLSchema
    The same schema works perfecrly with this web service:
    http://www.deeptraining.com/webservices/wsStrings.asmx?WSDL
    In this case proxy class is created with no errors and everything is fine.
    Could anybody let me know what's the reason of such bug, please? I'm not competent with XML schemas so it's kind of difficult to understand what's wrong with WSDL file from CBR.RU

    Late response I know, but I have solved a similar problem recently and thought I would share.
    Firstly, the problem is not with the namespace. The "Namespace ..." part is just stating the namespace the "Incorrect Value" has. So this error is complaining about the value "Unknown" - which isn't very helpful.
    It appears the SAP SE80 importer does not like elements like the following because it can't understand <s:element ref="s:schema" />. It appears this is a common thing to be included in .NET generated WSDLs.
     <s:element minOccurs="0" maxOccurs="1" name="GetCursDynamicResult">      <s:complexType>          <s:sequence>               <s:element ref="s:schema" />               <s:any />          </s:sequence>     </s:complexType></s:element> 
    SAP will also not like this example as it does not support mixed content (see: http://www.w3schools.com/schema/schema_complex_mixed.asp)
    <s:element minOccurs="0" maxOccurs="1" name="SaldoXMLResult">
         <s:complexType mixed="true">
              <s:sequence>
                   <s:any />
              </s:sequence>
         </s:complexType>
    </s:element>
    You can "Fix" the problem in both cases by removing the offending text in a local copy of the WSDL file so remove line 4 in the first example and change line 2 in the second to <s:complexType> the proxy can then be generated. No idea if the resulting service will be fully operational though!

  • Weblogic 8.1 Webservice Client Proxy Authentication not working

    We have a desktop console based Weblogic webservices client application that uses client stubs to establish the connection and communicate with the server where the WSDL was hosted.
    We are facing a problem in authenticating the Proxy user with valid credentials.
    We are using the following code to set the system properties and Authenticator class to authenticate the proxy user.
    //Code Segment #1
    Code:
    System.setProperty("http.proxyHost", proxyHost);System.setProperty("https.proxyHost", proxyHost);
    System.setProperty("weblogic.webservice.transport.http.proxy.host",proxyHost);
    System.setProperty("weblogic.webservice.transport.https.proxy.host",proxyHost);
    System.setProperty("http.proxyPort", proxyPort);
    System.setProperty("https.proxyPort", proxyPort);
    System.setProperty("weblogic.webservice.transport.http.proxy.port",proxyPort);
    System.setProperty("weblogic.webservice.transport.https.proxy.port",proxyPort);
    //System.setProperty("http.proxyType", "basic");
    //System.setProperty("https.proxyType", "basic");
    //System.setProperty("http.proxy.auth.type" ,"ntlm"); //This is not showing any impact
    System.setProperty("http.proxyUser", "bsil\\ashok.kumar");
    System.setProperty("https.proxyUser", "bsil\\ashok.kumar");
    System.setProperty("http.proxyPassword", " xyzddd");
    System.setProperty("https.proxyPassword", "xyzddd");
    Authenticator.setDefault(new MyAuthenticator());
    //Inner class
    public static class MyAuthenticator extends Authenticator {
    protected PasswordAuthentication getPasswordAuthentication() {
    String username = System.getProperty("http.proxyUser");
         String password = System.getProperty("http.proxyPassword");
         return new PasswordAuthentication(username, password.toCharArray());
    We are using following code initialize the stubs (Which internally opens a connection to the given endpoint base URL)
    //Code Segment #2
    Code:
    SessionService_Impl sessionService = new SessionService_Impl(getEndPointURL(SessionServicePort.class));
    port = sessionService.getSessionServicePort();
    return port;
    Using above code it always throws the following exception:
    Code:
    weblogic.webservice.tools.wsdlp.WSDLParseException: Failed to retrieve WSDL from https://apiclienttest.intralinks.com:443/webservices51/SessionService?WSDL. Please check the URL and make sure that it is a valid XML file [java.io.IOException: Proxy authenticator  failed: java.lang.ClassNotFoundException: ]
    if i replace the above code (Code Segment #2) to as bellow with Code Segment #3 then its working as expected. But we have been told that the Code Segment #2 is required as shwon above for the Weblogic ClientTimeout seconds feature so we cant replace the Code Segment #2 with Code Segment #3 since we don?t want to miss the ClientTimeout seconds feature for the application.
    //Code Segment #3
    Code:
    SessionService_Impl sessionService = new SessionService_Impl();
              SessionServicePort sessionServicePort = sessionService.getSessionServicePort();
              ((SessionServicePort_Stub) sessionServicePort)._setProperty("javax.xml.rpc.service.endpoint.address", endPointBaseURL+"SessionService");
    return sessionServicePort ;
    why the Proxy authentication is failing with the Code Segment #2 and why it is passing in case of Code Segment #3
    The endpoint base URL we are hitting is hosted on Weblogic server 9.0 (which is hosted at client side in US so it is behind our firewall).
    Is some thing more do we need to do in Authenticator class???
    Please help me if any one has worked on proxy server authenticator in java.

    We have a desktop console based Weblogic webservices client application that uses client stubs to establish the connection and communicate with the server where the WSDL was hosted.
    We are facing a problem in authenticating the Proxy user with valid credentials.
    We are using the following code to set the system properties and Authenticator class to authenticate the proxy user.
    //Code Segment #1
    Code:
    System.setProperty("http.proxyHost", proxyHost);System.setProperty("https.proxyHost", proxyHost);
    System.setProperty("weblogic.webservice.transport.http.proxy.host",proxyHost);
    System.setProperty("weblogic.webservice.transport.https.proxy.host",proxyHost);
    System.setProperty("http.proxyPort", proxyPort);
    System.setProperty("https.proxyPort", proxyPort);
    System.setProperty("weblogic.webservice.transport.http.proxy.port",proxyPort);
    System.setProperty("weblogic.webservice.transport.https.proxy.port",proxyPort);
    //System.setProperty("http.proxyType", "basic");
    //System.setProperty("https.proxyType", "basic");
    //System.setProperty("http.proxy.auth.type" ,"ntlm"); //This is not showing any impact
    System.setProperty("http.proxyUser", "bsil\\ashok.kumar");
    System.setProperty("https.proxyUser", "bsil\\ashok.kumar");
    System.setProperty("http.proxyPassword", " xyzddd");
    System.setProperty("https.proxyPassword", "xyzddd");
    Authenticator.setDefault(new MyAuthenticator());
    //Inner class
    public static class MyAuthenticator extends Authenticator {
    protected PasswordAuthentication getPasswordAuthentication() {
    String username = System.getProperty("http.proxyUser");
         String password = System.getProperty("http.proxyPassword");
         return new PasswordAuthentication(username, password.toCharArray());
    We are using following code initialize the stubs (Which internally opens a connection to the given endpoint base URL)
    //Code Segment #2
    Code:
    SessionService_Impl sessionService = new SessionService_Impl(getEndPointURL(SessionServicePort.class));
    port = sessionService.getSessionServicePort();
    return port;
    Using above code it always throws the following exception:
    Code:
    weblogic.webservice.tools.wsdlp.WSDLParseException: Failed to retrieve WSDL from https://apiclienttest.intralinks.com:443/webservices51/SessionService?WSDL. Please check the URL and make sure that it is a valid XML file [java.io.IOException: Proxy authenticator  failed: java.lang.ClassNotFoundException: ]
    if i replace the above code (Code Segment #2) to as bellow with Code Segment #3 then its working as expected. But we have been told that the Code Segment #2 is required as shwon above for the Weblogic ClientTimeout seconds feature so we cant replace the Code Segment #2 with Code Segment #3 since we don?t want to miss the ClientTimeout seconds feature for the application.
    //Code Segment #3
    Code:
    SessionService_Impl sessionService = new SessionService_Impl();
              SessionServicePort sessionServicePort = sessionService.getSessionServicePort();
              ((SessionServicePort_Stub) sessionServicePort)._setProperty("javax.xml.rpc.service.endpoint.address", endPointBaseURL+"SessionService");
    return sessionServicePort ;
    why the Proxy authentication is failing with the Code Segment #2 and why it is passing in case of Code Segment #3
    The endpoint base URL we are hitting is hosted on Weblogic server 9.0 (which is hosted at client side in US so it is behind our firewall).
    Is some thing more do we need to do in Authenticator class???
    Please help me if any one has worked on proxy server authenticator in java.

  • Error When Creating Deployable Client Proxy

    I've created a WSDL file from the XI Integration Directory (Tools--> Define Web Service). I then tested this with XMl Spy and VB.NET. They worked fine.
    I then used NWDS (SP13) to create a deployable client proxy. When building the client definition NWDS returned the error <b>"Problem When Generating the Proxy Definition!".</b>
    1. Are there any log files that would be helpful in deciphering the error message?
    2. Should I take this one to SAP. The WSDL is rather long and complex but it is based on XSD from a large national project and the other tools seem to be able to handle it fine.
    Thanks!

    Hi Paul,
    What adapter you havwe used in XI for this?
    It should be SOAP adapter.
    Regards,
    Bhavik

  • Problem in Creating WebService Client using 9.0.3 JD...

    Hi All,
    Thru JDev 9.0.3 webservice,
    1. I try to create proxy class and a sample client to access ASP.NET webservice also i get the following error.
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server
    Error</H1><PRE>Servlet
    Then i created a Java Webservice and hosted in the embedded oc4j server. Then i created a sample client. Then also i get same error as
    follows.
    I user, w2k server, 9i JD 9.0.3, j2sdk 1.4.1.
    Whats the probs. 9.0.3 dont support 1.4.1.
    2. Also one more thing. When i tried to create proxy for asp.net webservice, (Its a webservice to send email which has 6 methods overloaded),
    i get the Proxy Class for ONLY THE LAST METHOD. Rest of the 1st 5 methods are not found. Im able to access this webservice thru axis and thru
    .net also. Only when i created proxy thru 9.0.3, i get like this. So, no probs in my webservice. Some probs in 9.0.3 version. It seems that
    it does't properly create proxy if Method Overloading is done in the webservice.
    3. Also, why the proxy class created in 9.0.3 pass params and returns params as Integer eventhough i used only int in the asp.net webservice
    and in my java webservice created thru JDev 9.0.3
    Yours,
    Sankar.B
    India
    Errror:
    D:\j2sdk140\bin\javaw.exe -client -classpath
    C:\9iJDeveloper903-J2SDK-141\jdev\mywork\XMethodsWebService\CurrencyExchange\classes;C:\9iJDeveloper903-J2SDK-141\jdev\lib\jdev-rt.jar;C:\9iJ
    Developer903-J2SDK-141\jdev\lib\jdev-rt.jar;C:\9iJDeveloper903-J2SDK-141\soap\lib\soap.jar;C:\9iJDeveloper903-J2SDK-141\lib\xmlparserv2.jar;C
    :\9iJDeveloper903-J2SDK-141\jlib\javax-ssl-1_2.jar;C:\9iJDeveloper903-J2SDK-141\jlib\jssl-1_2.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\
    activation.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\mail.jar;C:\9iJDeveloper903-J2SDK-141\j2ee\home\lib\http_client.jar;C:\9iJDeveloper
    903-J2SDK-141\lib\xmlparserv2.jar;C:\9iJDeveloper903-J2SDK-141\lib\xmlcomp.jar -Dhttp.proxyHost=172.17.56.1 -Dhttp.proxyPort=80
    -Dhttp.nonProxyHosts= id.ws.EmbeddedMathWSStub
    [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsupported response content type "text/html", must be: "text/xml".
    Response was:
    <HTML><HEAD><TITLE>500 Internal Server Error</TITLE></HEAD><BODY><H1>500 Internal Server
    Error</H1><PRE>Servlet error: Cannot generate Class:
    C:\9iJDeveloper903-J2SDK-141\jdev\system9.0.3.1035\oc4j-config\application-deployments\current-workspace-app\XMethodsWebService-CurrencyExcha
    nge-webapp\temp\__java_statefull_rpc\id\ws\__MathWSStatefullWrapper.java:10: cannot access java.lang.Objectbad class file:
    D:\j2sdk140\jre\lib\rt.jar(java/lang/Object.class)class file has wrong version 48.0, should be 47.0Please remove or make sure it appears in
    the correct subdirectory of the classpath.import java.lang.Object;                 ^1 error</PRE></BODY></HTML>]     at
    org.apache.soap.rpc.Call.getEnvelopeString(Call.java:209)     at org.apache.soap.rpc.Call.invoke(Call.java:268)     at
    id.ws.EmbeddedMathWSStub.Add(EmbeddedMathWSStub.java:66)     at id.ws.EmbeddedMathWSStub.main(EmbeddedMathWSStub.java:34)Process exited
    with exit code 0.

    You are correct, there is a bug logged with JDeveloper 9.0.3 that with JDK 1.4, Web services are not working. See:
    http://otn.oracle.com/products/jdev/htdocs/readme_903.html#ws0
    (while not exactly your situation, I suspect it is related). We are close to releasing JDeveloper 9.0.4 preview which will support JDK 1.4 and should resolve your problem.
    In terms of your second problem, there is a similar bug logged but could I ask you to try again with JDK 1.3.1 to see if a similar issue occurs?
    As for your third question, this is the default behaviour for Oracle9iAS Web Services - int gets mapped as Integer. See:
    http://otn.oracle.com/docs/products/ias/doc_library/903doc_otn/generic.903/b10004/javaservices.htm#1033406
    Hope this helps.
    Mike.

  • Error creating Webservice Client in JAVA for ABAP Webservice(WSDL file)

    Hi all,
    I have created a webservice from a funtion module in the backend.
    Using soamanger I downloaded the wsdl file using "Open WSDL document for selected binding" link.
    I tested this web service in backend and it is working fine.
    Now I am trying to generate JAVA cilent for this webservice using Eclipse and Axis,but getting the following error
    IWAB0399E Error in generating Java from WSDL:  WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy):
    faultCode=INVALID_WSDL: Encountered unexpected element '{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
        WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element
    '{http://schemas.xmlsoap.org/ws/2004/09/policy}Policy'.:
        at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
        at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
        at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
        at java.lang.Thread.run(Unknown Source)
    Please let me know,wat needs to be done for this error to get resolved
    Thanks
    Santhosh

    Hi,
    I am also getting the same error while generating the client class from IBM Rational Application Developer IDE.
    Here is the error I get.
    WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
         [java] at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
         [java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
         [java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
         [java] at java.lang.Thread.run(Thread.java:571)
    Did you find out the cause of this issue?
    Thanks & Regards,
    Vijay

  • Webservice: client proxy chokes on (any) reply

    I have made sure that:
    - there is a complete reproduction scenario
    - the webservices are online!
    - the wsdls and eclipse project with proxies and test program calling the proxies are attached
    I can't find any references (SDN/google, posted on SDN) which help me with the errors my proxies (generated in Netweaver Developer Studio) keep getting when reading/processing the response message. Therefore I would be grateful for any pointer which helps me solve/workaround this problem.
    PROBLEM:
    Netweaver Developer Studio generated proxies choke when reading/processing our reply:
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.getResponseDocument(MimeHttpBinding.java:1077)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1432)
         at com.quintiq.WSNullPointerExceptionProblem.Foo.FooBindingStub.foo(FooBindingStub.java:87)
    FACTS & MY ANALYSIS
    - We are using our own SOAP implementation, just so you know
    - I tried all kinds of webservice signatures (void foo(void), string foo(string) etc...) All give the same problem
    - Error messages work fine! (Our errormessage is read and perfectly converted into an exception)
    - I ran several checkers/validators:
      - EP Web Services Checker has no problem
      - WS-I check reveals that the only problem is that we don't use UTF-8, but iso-8859-1 (I tried using UTF-8 which should be ok, same problem)
      - Mindreef SoapScope gives no problem
      - Several web based WSDL validators (also invoking the service) have no problem
    - I use stateless communication (checkbox in LogicalPort configuration)
    - I am using the sneak preview available for evaluation on SDN: " Sneak Preview SAP NetWeaver 04 - Full Java Edition with SAP NetWeaver Portal,  NW04 SP16 11 Apr 2006"
    - I get a warning (using guidgenerator.jar removes the warning, but does not help with the real problem)
      Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
      Error Message is :com/sap/guid/GUIDGeneratorFactory
    REPRODUCTION
    Using the workspace attached:
    To call webservice Foo: run with the main supplied in class com.quintiq.WSNullPointerExceptionProblem.Foo.Test_Foo
    To call webservice PCT_DUEDATE: run with the main supplied in class com.quintiq.WSNullPointerExceptionProblem.Test_PCT_DUEDATE
    To call both: run with the main supplied in class Main in the default package
    It takes about 5/10 minutes to generate proxies yourself and call the webservice. (Don't forget to check the "stateless communication" checkbox in the LogicalPort configuration!)
    The error is always the same:
    java.rmi.RemoteException: Service call exception; nested exception is:
         java.lang.NullPointerException
         at com.quintiq.WSNullPointerExceptionProblem.Foo.FooBindingStub.foo(FooBindingStub.java:99)
         at com.quintiq.WSNullPointerExceptionProblem.Foo.Test_Foo.main(Test_Foo.java:26)
         at Main.main(Main.java:20)
    Caused by: java.lang.NullPointerException
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.getResponseDocument(MimeHttpBinding.java:1077)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1432)
         at com.quintiq.WSNullPointerExceptionProblem.Foo.FooBindingStub.foo(FooBindingStub.java:87)
         ... 2 more
    Kind regards,
    Patrick

    Found the problem. We returned HTTP code 202 (Accepted) instead of 200 (OK) when the response was in the body.
    Patrick

  • Error at creating Client Proxy of external webservice (WSDL)

    Hi Experts,
    I try to create a Client Proxy Object out of an external webservice. Here is the WSDL URL:
    [http://www.webservicex.net/CurrencyConvertor.asmx?wsdl]
    I try to create it with this URL and then I get the error message
    Not implemented
    Exception of class CX_SIDL_INTERNAL_ERROR
    I found two other threads with a similar problem:
    cunsuming external webservice in ABAP
    Problem while consuming external webservice
    But there is no solution that worked for me. In the first thread it is mentioned, that the code between
    <wsdl:binding name="XXXXHttpGet" type="tns:XXXHttpGet">
    and it's closing brackets should be removed in a local file. I tried that and was able to create a client proxy object out of this local wsdl-file. But then I called the webservice with the folling coding for testing:
    report  z_currency_converter.
    data: convert type ref to zzzco_currency_convertor_soap.
    try.
        create object convert
      exporting
        logical_port_name  = 'Z_LP'
      catch cx_ai_system_fault .
    endtry.
       data: output type zzzconversion_rate_soap_out  .
       data: input type zzzconversion_rate_soap_in .
       input-from_currency = 'EUR'.
       input-to_currency = 'USD'.
    try.
    call method convert->conversion_rate
      exporting
        input  = input
      importing
        output = output
    catch cx_ai_system_fault .
    catch cx_ai_application_fault .
    endtry.
    write output-conversion_rate_result.
    The same code worked fine in another system. In this "older" system could also create a client proxy, I think because it has a newer Support Pack version.
    SAP says the following:
    The problem is that this WSDL uses two bindings different from SOAP
    binding which is not in conformance with Basic Profile 1.1 -
    http://www.ws-i.org/Profiles/BasicProfile-1.1.html#WSDLBINDINGS .
    I looked in the document, but I do not know where the problem in the WSDL file exactly is. What have I to change? Or can somebody give me the URL of a free webservice, that you used for creating a client proxy with a new support pack standing? In the "old" system there is not yet the SOAMANAGER but in the one where it doesn't work.
    I hope you have an idea.
    Thanks a lot in advance!
    Best Regards,
    Ingmar

    I think it is the problem of version.U need to ask SAP to release some patch levels to correct it.
    Regards
    Snehasish

  • Need some help in creating client proxy to call webservice

    Hi experts,
    I am new to ABAP so couldnt understand the SAP ABAP jargons.
    On of my colleague has written one search help exit function and i need to use that and have to write client proxy to establish connection to webservice.
    I never worked on proxy or webservice so, struggling to understand the concept and steps.
    I am following second part i.e Release 640 part of /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap weblog.
    I couldnt find "To get the process started, we turn to our old friend SE80. <b>From the Enterprise Services Tab, we are going to select Client Proxy and then hit create"</b>
    when i go to transaction se80 ObjectNavigator, i could see two dropdown lists after some tabs.
    in first list, I have selected, "Application Hierarchy", and in second I am selecting "Package".
    Not sure whether its correct or not.
    Once i do this i could see long list of <b>Object name and its description.</b>
    Now, what should i do ? where should i go for "Enterprise Services Tab" to create my proxy.
    Any help would be appreciated.
    Please send me PDF, having detailed steps to create client proxy.
    Thanks,
    Pranav

    Right click on the package and select Proxy object. In the Wizard select Service Consumer.
    then give the url of the WSDL file you want to access or path if u have a local file.
    then give the package for client proxy.
    then complete the wizard. the  client proxy will be create in that package.
    Next step will be creating a Logical Port using the transaction "lpconfig". Give the proxy name of the service interface created under client proxy. and set the configuration as follows.
    1. Make as a default port.
    2. in the URL, give the url of the webservice (.asmx)
    3. select "State Enabled" and "Message ID"
    and after creating a logical port,  set the proxy settings as in your webbrowser.
    (Http proxy server and port).
    then simply execute your webservice from SE80.

  • Creating client proxy in ABAP failed

    Hello,
    I tried to create a client proxy for a WebService and got the same error like in this thread: [Error when create client proxy in ABAP; "Exception occured in library handler".
    I've got only a little of knowledge about SOAP that's why I cannot edit the WSDL File. But I think there is no mistake in the WSDL. I used one in Visual C# and it works.
    Is it possible to change settings of the proxy generator to ignor non-SOAP bindings?
    Thanks for your help.
    Frank
    Edited by: Frank Staudte on Jan 20, 2009 9:17 AM

    Hi,
    Search in SDN you can find many links.
    Client Proxy -
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Regards,
    Phani

Maybe you are looking for