ABAP Web Service client proxy - generation problems

Hi!
I tried to create an ABAP web service client proxy for many different web services -
for instance some of that listed at <a href="http://www.xmethods.net/">http://www.xmethods.net/</a> .
Almost on 99% of the WSDLs the client proxy generation failed.
For istance "<extension> not supported", or "<message...> must have at least one part",... .
Could anybody tell me what restrictions are to web services you can create a
ABAP client proxy for ?
In the SAP Web AS Java Stack there is no problem at all to generate a
client proxy for almost all of the xmethod-WebServices !
Is the ABAP Web Service proxy generation for production use ?
Regards
Frank Ruggaber

Resolved through SAP Help. Refer SAP note# 0001403271.

Similar Messages

  • Web Service - Client Proxy generation error

    Hi All,
    I tried creating a client proxy using an URL provided to me and followed the steps using the wizard. I end up in getting the following error messages. Could anyone throw some light on resolving this? I do not have any idea about what WSDL is. Any help is highly appreciated. Not able to attach the WSDL code here.
    Below is the error message upon client proxy creation:
    Proxy-Generierung: Fehler aufgetreten
    Exception occurred in library handler
    Not implemented
    Thanks
    Srini
    Edited by: Srinivasan Karunakaran on Oct 22, 2010 11:11 PM

    Resolved through SAP Help. Refer SAP note# 0001403271.

  • Web service client proxy thread safe?

    Is the jax-ws web service client proxy and port objects thread safe in Weblogic 10.3.4?
    Been searching through the docs but can't find any info on this.

    I have searched and it seems that with cxf it's safe to do something like this.
    Nobody knows if this is safe using metro?

  • JDeveloper Web Service Client/Proxy Basic Authentication

    Hi I recently migrated a 10g Web Service to an 11g Web Service that uses basic authentication.
    I then generated the client/proxy using the WSDL for my consumer application in JDeveloper 11g. however I cannot find any functions that will allow me to set the username and password to access the web service.
    For instance, in 10g Client, I simply had to this:
    myPort = new SoapHttpPortClient();
    myPort.setUsername("username");
    myPort.setPassword("password");
    I am not sure how I do the same in the generated Web Service client in 11g.
    Thanks in advance.

    Thanks Frank. I was able to get it to work!
    I did google it but I always add "jdeveloper 11g" in my searches so that must be why this did not come up. :) Thanks again!

  • Client proxy generation problem

    Hi All,
    I'm trying to create client proxy using given WSDL link in SE80 under enterprise services.
    When I enter URL as given WSDL link it is asking for user and password.
    When I enter required details (domain name/username) and password, I'm getting an error saying problem with XML generation.
    When I access this WSDL link from IE with same user and password I'm able to access this service.
    Could some one help me on this issue.
    Thanks
    Raghavendra

    Hi Raja,
    I do have similar problem. But If I save the WSDL in local file will it meet my requirement  or not I'm  not sure about this.
    I'm trying to invoke the external web service by creating client proxy in SE80.
    which is deployed on some machine. This service will in turn create user account in windows active directory with the details from SAP.
    Now when SAP is invoking this service it will ask user and password.
    But if I save this in local file will this service will work or not I'm not sure.
    Is there anyway if I enter user and password then it will process further.
    Let me know your inputs on this.
    Regards
    Vikram

  • Web service - Client Proxy - SOAP error

    Hi All,
    I created a custom web service/port and Client proxy.
    While I test the Client proxy with Logical port via SE80, I am getting error message related to SOAP.
    Error text:
    SOAP:14 Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
    Error when processing Web service call
    Error when calling SOAP Runtime functions: Unexpected element -el=definitions ns=http://schemas.xmlsoap.org/wsdl/
    Am I missing any configuration?
    THanks,
    Chirag

    Hi,
    I got the same error with using the configuration tool LPCONFIG after implementing -> with SOAMANAGER everything worked allright directly just create a port with that tool.
    Maybe tha will help you also - for your problem.
    Regards,
    Jeroen Cosijnse

  • 10.1.3.3 JDev web service client proxy: Issue with XSD:anySimpleType

    Hi,
    One of our Web services XSD elementss has "anySimpleType" as the type:
    <xsd:element name="Value" type="xsd:anySimpleType" minOccurs="0" nillable="true"/>
    The client proxy is generated using JDev 10.1.3.3. We observed that the corresponding Java object is created with "String" data type:
    protected java.lang.String value;
    exp.setValue("100");
    We need to be able to pass arguments with other simple types as well (E.g. Decimal). We tried changing the auto generated code, but weren't successful.
    Any pointers in this regard are much appreciated.
    Thanks,
    Phani

    Hi all,
    can anyone please respond to my issue. Its sort of urgent.
    thanks,

  • Web service client stubs generation

    Hi,
    I try to generated model for WebDynpro application based on Web service (deprecated). WSDL file is valid. Stub classes generation is completed with compilation error. I found that the generator builds strange method for CMapLayerField complex type. There is setter with java.util.List param for MapLayer field but no one exists for Metafields field. Why for? Metafields field has the same cardinality as MapLayer one. Please, take me advance. I don't understand generation mechanism. I tried Axis2 and no problem was. How to fix this problem? How can I use Axis2 WSDL2Java generator instead of SAP Schema to Java generator?
    The problem is below described in details. Compilation failed due to type cast error. The error message is:
    The method setMapLayer(CMapLayer) in the type CMapLayerField is not applicable for the arguments (CMapLayer[])
    Below I give some scrap from WSDL and generated Java class.
    WSDL
    ==============
          <s:complexType name="CMapLayerField">
            <s:complexContent mixed="false">
              <s:extension base="tns:CTable">
                <s:sequence>
                  <s:element minOccurs="0" maxOccurs="1" name="Metafields" type="tns:CMetafields" />
                  <s:element minOccurs="0" maxOccurs="1" name="MapLayer" type="tns:CMapLayer" />
                  <s:element minOccurs="1" maxOccurs="1" name="MapLayerFieldIsName" type="s:int" />
                </s:sequence>
              </s:extension>
            </s:complexContent>
          </s:complexType>
    Generated API class for CMapLayerField type
    ==============================
    package com.test.model;
    public class ComplexType_CMapLayerField
    private com.test.model.proxies.types.CMapLayerField originalBean;
    //skipped
    private com.test.model.ComplexType_CMetafields metafields;
    /** sets the JavaWrapper in the relationship**/
    public void setMetafields(com.test.model.ComplexType_CMetafields arg)
         this.metafields = arg;           
    sets the original bean in the relationship
      public void setMetafields(com.test.model.proxies.types.CMetafields origBean)
         if(this.metafields == null)
              this.metafields = new com.test.model.ComplexType_CMetafields ();
         this.metafields.setOriginalBean(origBean);           
    private java.util.List _mapLayer = null;
    public void setMapLayer (java.util.List list)
         com.test.model.proxies.types.CMapLayer[] array = new com.test.model.proxies.types.CMapLayer[list.size()];
         for(int i=0;i<list.size();i++)
              com.test.model.ComplexType_CMapLayer item = (com.test.model.ComplexType_CMapLayer)list.get(i);
               array<i> = item.getOriginalBean();
         getOriginalBean().setMapLayer(array);
         this._mapLayer = list;
    public void setMapLayer (com.test.model.proxies.types.CMapLayer[] args)
         if(_mapLayer == null) _mapLayer = new java.util.ArrayList();
         if (args == null ) return ;
         for(int i=0;i<args.length;i++)
              com.test.model.ComplexType_CMapLayer wrapper = new com.test.model.ComplexType_CMapLayer ();
              wrapper.setOriginalBean(args<i>);
              _mapLayer.add(wrapper);     
    //skipped
    Generated stub class for CMapLayerField type
    ===================================
    package com.test.model.proxies.types;
    public  class CMapLayerField extends com.test.model.proxies.types.CTable {
      //some line were skipped
      private com.test.model.proxies.types.CMetafields fMetafields;
      public void setMetafields(com.test.model.proxies.types.CMetafields _Metafields) {
        this._f_Metafields = _Metafields;
        this._f_hasMetafields = true;
      private com.test.model.proxies.types.CMapLayer fMapLayer;
      private boolean fhasMapLayer;
      public void setMapLayer(com.test.model.proxies.types.CMapLayer _MapLayer) {
        this._f_MapLayer = _MapLayer;
        this._f_hasMapLayer = true;

    Obsolete

  • Testing a Static Web Service Client Proxy

    Hi all,
    I have followed all the steps for Database Web Service Callout Utilitiy 10.1.3.1 but stuck at this point.
    C:\OraHome_3>jpub -u dbws@lokal3 -sysuser sys@lokal3 -proxywsdl=http://localhost:8888/javacallout/javacallout?WSDL -endpoint=htt
    p://localhost:8888/javacallout/javacallout
    tmp\src\genproxy\HttpSoap11ClientJPub.java
    plsql_wrapper.sql
    plsql_dropper.sql
    plsql_grant.sql
    plsql_revoke.sql
    Executing plsql_dropper.sql
    Executing plsql_wrapper.sql
    Error executing plsql_wrapper.sql. Please run that script in DBWS.
    Executing plsql_grant.sql
    Error connecting as SYSDBA. Please load the file in question manually. For autom
    atic loading into remote databases or through thin drivers, please set up the pa
    ssword file for remote SYS connection according to Oracle JDBC Developer's Guide
    Error executing plsql_grant.sql: null. Please run that script as SYSDBA.
    Error detecting dbwsclient.jar in the database: ORA-12560: TNS:protocol adapter
    error
    . Please load sqlj/lib/dbwsclient.jar if it has not been loaded.
    Error connecting as SYSDBA. Please load the file in question manually. For autom
    atic loading into remote databases or through thin drivers, please set up the pa
    ssword file for remote SYS connection according to Oracle JDBC Developer's Guide
    Error granting loading permission: null
    Loading plsql_proxy.jar
    SQL Error while connecting with oci8 driver to default database: ORA-12560: TNS:
    protocol adapter error
    Any ideas?
    Regards,
    Onur

    Hi,
    I got the same error with using the configuration tool LPCONFIG after implementing -> with SOAMANAGER everything worked allright directly just create a port with that tool.
    Maybe tha will help you also - for your problem.
    Regards,
    Jeroen Cosijnse

  • HTTP Analyzer help for web service client in 11g

    I am using jDev 11.1.1.3.0 to build a web service client (proxy) to a potential vendor's web service. I've used the Http Analyzer before but I'm having trouble configuring it for a WS proxy. I just want to see the SOAP stream between my client and the web service. I used the Web Service Proxy wizard to create the Java code, but the web service provider has kept some of the contract in the WSDL private so that I had to manually generate the meat and potatoes of the Java code. I need to be able to see the SOAP my Java code is sending.
    I have tried to configure the Http Analyzer to listen on it's own localhost and port with a forward rule to forward the request to the real WS, but I cannot figure out how to get the client to send it's requests to localhost instead of the actual WS.
    Actually, I did figure it out, but then the request fails as it apparently tries to connect to the real WSDL before actually sending the request and cannot find a WSDL at the localhost URL. Here's the error:
    Exception in thread "main" javax.xml.ws.WebServiceException: {http://localhost:8099}CatalogRequest is not a valid service. Valid services are: {http://[actual URL here]}CatalogRequest
         at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:249)
    I have also tried to configure the Http Analyzer to somehow 'sniff' the actual URL by listening on the actual URL and port, but either I cannot get the Analyzer to see the request or it fails because the Analyzer is using the same port the request is trying to use.
    Can someone explain how to configure the Http Analyzer to see the SOAP stream for a Web Client Proxy?

    Hi, I'm just using the default setup for HTTP Analyzer and having no problem using it.
    Just make sure to run the HTTP Analyzer first before running or starting your app server (Integrated weblogic Server).

  • Web Service Client: Project Additional Classpath  contributor not working?

    I've created a simple web service client/proxy and it works when debugging and running in JDeveloper 10.1.3.3
    I created a deployment profile that includes "Project Additional Classpath". The preview does not show any of the jar dependencies being included and the client application does not run because it is missing the dependencies.
    Am I missing something simple here? I've searched forever on this with no luck (it's now 2am!)
    Help is much appreciated

    Frank,
    Thank you for your reply. The funny thing is that I had known how to do this in the past.
    I have to say. The layout of that screen just is not intuitive.
    First, if you select file groups\project output\Contributors and select "Project Additional Path" you would think that you'd either get to select the class libraries there or at least in the filters screen.
    Second, the new button on the lower left, beneath the tree control when selecting the File Groups node is an arrangement I havn't seen used in any other application. Usually when you select a tree node, the right side window would have a tool bar over an arrangement of the sub-nodes/folders and you would click new on that tool bar. The new button goes completely unnoticed where it is. I'm sure it's nothng once you get used to it but for a noob like me, it wasn't apparent
    I took a brief look at 11g and it seems they're changing some of the screens so perhaps this stuff will become more intuitive.
    Thank you for your help.

  • Weblogic 10.3: web service client enable HTTP/HTTPS connection reuse?

    hi all,
    i am writing an client app to call a web service, through a client proxy generated by jdeveloper/weblogic.
    My question is:
    for the weblogic web service client proxy, is it possible to enable HTTP/HTTPS connection reuse/pooling?
    i see there is many connection created when calling the web service (by command netstat)?
    thank you.
    lsp

    anybody can help?
    thanks

  • Web Service Client Generation on 7.10 SP3 - No WSDL URL is specified....

    We have a mysterious problem here.
    In out ABAP system we had a WebService created. With "New - Web Service Client" we created a web service client on the java side for that one and we were able to invoke it.
    We had to recreate this Web service due to wrong naming conventions. And now the problem starts.
    In the Main service class we had before something generated by NWDS:
    private static java.net.URL SERVICES_SERVICE_WSDL_LOCATION = null;
    static {
        java.net.URL url = null;
        try {
              java.net.URL tmpUrl = Thread.currentThread().getContextClassLoader().getResource("wsdl/com/sap/document/sap/soap/functions/mc_style/sap/bc/srt/wsdl/bndg_001279D063121DECA58AC5F7200DC55D/wsdl11/allinone/ws_policy/document/rootwsdl_SERVICES.wsdl");
              url = new java.net.URL(tmpUrl.getProtocol(), tmpUrl.getHost(), tmpUrl.getPort(), tmpUrl.getFile());
        } catch (java.net.MalformedURLException e) {
          e.printStackTrace();
        SERVICES_SERVICE_WSDL_LOCATION = url;
    After the new creation with the new Web Service this static initializer is gone an we see:
    private final static java.net.URL SERVICE_WSDL_LOCATION = null;
    This code is ridiculous, to make something static final and set it to Null. And as expected at runtime it results in WebServioceException telling us:
    No WSDL URL is specified for service [class com.sap.document.sap.soap.functions.mc_style.Service] on service creation.
    Anyone knows what is going wrong here??
    Best regards,
    Frank

    Same problem here.
    From Netweaver dev studio, I'm generating a deployable proxy for a Session Bean that is supposed to access a webservice but I keep getting the exception:
    "Caused by: javax.xml.ws.WebServiceException: No WSDL URL is specified for service [class eu.socrades.sap.ServiceMonitorBeanTESTService] on service creation.
    at com.sap.engine.services.webservices.espbase.client.jaxws.core.SAPServiceDelegate.<init>(SAPServiceDelegate.java:108)
    at com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider.createDelegate(CTSProvider.java:170)
    at com.sap.engine.services.webservices.espbase.client.jaxws.cts.CTSProvider.createServiceDelegate(CTSProvider.java:151)
    at javax.xml.ws.Service.<init>(Service.java:57)
    at eu.socrades.sap.ServiceMonitorBeanTESTService.<init>(ServiceMonitorBeanTESTService.java:14)"
    I'm injecting the reference to the service with:
    @WebServiceRef(wsdlLocation = "rootwsdl_ServiceMonitorBeanTESTService.wsdl")
    private ServiceMonitorBeanTESTService service;
    I tried changing the location to a URL (where the wsdl can be downloaded from) or to "META-INF/wsdl/eu/socrades/sap/rootwsdl_ServiceMonitorBeanTESTService/rootwsdl_ServiceMonitorBeanTESTService.wsdl" but that did not help.
    Any clue?
    Thanks a lot,
    Dom

  • Processing ABAP Idocs in SAP Java AS CE 7.1 web service client applicatin

    I am trying to build a Java web service client which would call a web service in a non-SAP system.  I am trying to send  Idocs from the back-end CRM system to my Java web service client using a Jco RFC Provider.  I have already created the RFC Destination on the ABAP side to send my Idocs to my Jco RFC Provider program on the Java side.  The connections between the ABAP and Java are working fine.  My question is how in my Java web service client do I pick up the IDoc sent from ABAP to the Jco RFC Provider? 
    Please let me know if more clearification is needed

    I do receive the IDoc with the SAP Java AS "RFC Jco Provider" component I created, and in my Java application I created a class for "IDOC_INBOUND_ASYNCHRONOUSBean" which has a method "processFunction(Function function)" and in that method I can do function.write("filename.xml") and it writes out an xml document of the Idoc sent from the ABAP server.  I can further process the Idoc by pulling field values from the xml structure.  However, my problem is I am now trying to write a second Java application to do the same thing but with a different Idoc type.  I created a a second RFC Jco provider(listener) on the server but the Idocs still flow through the first Java application, which is an undesirable affect.  I got this idea from this document originally "http://nwadave.com/NwadExplorer/data/SAPDoc/ProcessingIDocsWithTheSAPJavaConnector.doc", and it works fine until now when I'm trying to add a second application to do similar work.  This is makeing me wonder if I should have even done the first one this way?  Bottomline is what tell the RFC Jco provider(listener) on the Java server which application to send the Idocs too?

  • Proxying ABAP Web Service on NW CE

    Hi,
    Assume that we have a Web Service created in ABAP System and can be accessed anywhere.
    We want to publish this web service to external 3rd party companies but don't want them to access directly SAP R/3 System.
    One way is to create another Webservice on CE and call ABAP Web Service from there and also publish this CE Web Service.
    But I remember that it is possible to create a Web Service Proxy on CE for anther Web Service.
    Could you help me to choose the best option and also if there are sample solutions
    regards

    Hello,
    I think you must create a Web Service proxy client and expose this client as a Web Service.
    For creating your Web Service you must follow the outside-in approach:
    1.Import the WSDL document from your ABAP system.
    2.Generate the Java bean skeleton based on the imported WSDL.
    This is the link to the help documentation:  http://help.sap.com/saphelp_nwce10/helpdata/en/46/935a636110581de10000000a1553f7/frameset.htm

Maybe you are looking for

  • Cannot sync ipod error message

    I am getting an error message on my MacBook Pro when I try to sync my ipod on itunes. The error message says "the ipod cannot be synced. The required file cannot be found.

  • Disconnect/Reconnect Media (replacing low res stock)

    I have a handful of stock video in a my project.  I have been using the watermarked preview files from the stock media site, and now I have my purchased non-watermarked files that I need to replace in my edit. What is the easiest way to do this? FCP7

  • Why FF4b8 not switch tabs when click on a different tab? Win XPsp3

    Tab click on will display a color change (dk gray to light gray). But window does not change. 3 tabs were open. It does the same thing if the other tab is selected.

  • Time Machine/Time Capsule with Old Computer

    I have migrated all of the contents of my old, slow MacBookPro to my new MacBook Pro. My time capsule keeps giving me messages that I have exhausted available space and must delete old backups. I would like to delete the thirty backups for my old com

  • How do I stop Weather Channel's videos from playing automatically?

    A previous answer to a similar question referred us to the "Stop Autoplay" add-on. That add-on, however, has been withdrawn. Is there another solution? PS: I'm using Firefox 18.0 for Windows XP.