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.

Similar Messages

  • 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.

  • 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

  • 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?

  • Client Proxy Generation Error

    Hi All,
    I have a java web-service deployed in Enterprise Portal which I need to consume in a BSP.
    Unfortunately, I'm getting an error on client proxy generation:
    Proxy generation terminated: Message must have exactly one part
    Is anyone familiar with this?  The WSDL file says it has been generated by SAP PORTAL ECLIPSE PLUGINS.
    Here is the WSDL file:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <!--  WSDL File generated by the SAP PORTAL ECLIPSE PLUGINS
      -->
    - <!--  VERSION : 6.3.20051124
      -->
    - <wsdl:definitions name="xCDRServices" targetNamespace="prt:service:com.sap.xcdr.xCDRServices" xmlns:intf="prt:service:com.sap.xcdr.xCDRServices" xmlns:xsd_doc="prt:service:com.sap.xcdr.xCDRServices/DocumentTypes" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime" xmlns:http="http://schemas.xmlsoap.org/soap/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns0="http://prt.java.soap/schemas" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns2="http://lang.java" xmlns:tns1="http://api.security.sap.com">
    - <types>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="prt:service:com.sap.xcdr.xCDRServices/DocumentTypes" elementFormDefault="qualified">
      <element name="checkUserExists_1_param2" nillable="true" type="xsd:string" />
      <element name="response_checkUserExists_1" type="xsd:int" />
      <element name="getUserRoles_1_param3" nillable="true" type="xsd:string" />
      <element name="response_getUserRoles_2" nillable="true" type="xsd:string" />
      <element name="getAllRolesInNameSpace_1_param4" nillable="true" type="xsd:string" />
      <element name="response_getAllRolesInNameSpace_3" nillable="true" type="xsd:string" />
      <element name="assignRoles_2_param5" nillable="true" type="xsd:string" />
      <element name="assignRoles_2_param6" nillable="true" type="xsd:string" />
      <element name="response_assignRoles_4" nillable="true" type="xsd:string" />
      </schema>
    - <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://prt.java.soap/schemas" elementFormDefault="qualified">
    - <complexType name="PortalSOAPFault">
    - <sequence>
      <element name="stackTrace" minOccurs="0" maxOccurs="1" type="xsd:string" />
      </sequence>
      </complexType>
    - <complexType name="UMException">
    - <complexContent>
    - <extension base="tns0:PortalSOAPFault">
    - <sequence>
      <element name="LocalizedMessage" nillable="true" type="xsd:string" />
      <element name="Message" nillable="true" type="xsd:string" />
      <element name="NestedException" type="tns0:Throwable" />
      </sequence>
      </extension>
      </complexContent>
      </complexType>
    - <complexType name="Throwable">
    - <complexContent>
    - <extension base="tns0:PortalSOAPFault">
      <sequence />
      </extension>
      </complexContent>
      </complexType>
      <element name="error_UMException" type="tns0:UMException" />
      </schema>
      </types>
    - <wsdl:message name="assignRolesResponse">
      <wsdl:part name="response_assignRoles_4" element="xsd_doc:response_assignRoles_4" />
      </wsdl:message>
    - <wsdl:message name="checkUserExistsRequest">
      <wsdl:part name="checkUserExists_1_param2" element="xsd_doc:checkUserExists_1_param2" />
      </wsdl:message>
    - <wsdl:message name="checkUserExistsResponse">
      <wsdl:part name="response_checkUserExists_1" element="xsd_doc:response_checkUserExists_1" />
      </wsdl:message>
    - <wsdl:message name="getAllRolesInNameSpaceResponse">
      <wsdl:part name="response_getAllRolesInNameSpace_3" element="xsd_doc:response_getAllRolesInNameSpace_3" />
      </wsdl:message>
    - <wsdl:message name="getAllRolesInNameSpaceRequest">
      <wsdl:part name="getAllRolesInNameSpace_1_param4" element="xsd_doc:getAllRolesInNameSpace_1_param4" />
      </wsdl:message>
    - <wsdl:message name="UMException">
      <wsdl:part name="error_UMException" element="tns0:error_UMException" />
      </wsdl:message>
    - <wsdl:message name="getUserRolesRequest">
      <wsdl:part name="getUserRoles_1_param3" element="xsd_doc:getUserRoles_1_param3" />
      </wsdl:message>
    - <wsdl:message name="assignRolesRequest">
      <wsdl:part name="assignRoles_2_param5" element="xsd_doc:assignRoles_2_param5" />
      <wsdl:part name="assignRoles_2_param6" element="xsd_doc:assignRoles_2_param6" />
      </wsdl:message>
    - <wsdl:message name="getUserRolesResponse">
      <wsdl:part name="response_getUserRoles_2" element="xsd_doc:response_getUserRoles_2" />
      </wsdl:message>
    - <wsdl:portType name="xCDRServices">
    - <wsdl:operation name="checkUserExists" parameterOrder="checkUserExists_1_param2">
      <wsdl:input name="checkUserExists_input0" message="intf:checkUserExistsRequest" />
      <wsdl:output name="checkUserExists_output0" message="intf:checkUserExistsResponse" />
      </wsdl:operation>
    - <wsdl:operation name="getUserRoles" parameterOrder="getUserRoles_1_param3">
      <wsdl:input name="getUserRoles_input0" message="intf:getUserRolesRequest" />
      <wsdl:output name="getUserRoles_output0" message="intf:getUserRolesResponse" />
      <wsdl:fault name="com.sap.security.api.UMException" message="intf:UMException" />
      </wsdl:operation>
    - <wsdl:operation name="getAllRolesInNameSpace" parameterOrder="getAllRolesInNameSpace_1_param4">
      <wsdl:input name="getAllRolesInNameSpace_input0" message="intf:getAllRolesInNameSpaceRequest" />
      <wsdl:output name="getAllRolesInNameSpace_output0" message="intf:getAllRolesInNameSpaceResponse" />
      <wsdl:fault name="com.sap.security.api.UMException" message="intf:UMException" />
      </wsdl:operation>
    - <wsdl:operation name="assignRoles" parameterOrder="assignRoles_2_param5 assignRoles_2_param6">
      <wsdl:input name="assignRoles_input0" message="intf:assignRolesRequest" />
      <wsdl:output name="assignRoles_output0" message="intf:assignRolesResponse" />
      <wsdl:fault name="com.sap.security.api.UMException" message="intf:UMException" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="com.sap.portal.prt.soap.xCDRServicesBinding" type="intf:xCDRServices">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="checkUserExists">
      <soap:operation soapAction="prt:service:com.sap.xcdr.xCDRServices.xCDRServices/checkUserExists0" />
    - <wsdl:input name="checkUserExists_input0">
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output name="checkUserExists_output0">
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="getUserRoles">
      <soap:operation soapAction="prt:service:com.sap.xcdr.xCDRServices.xCDRServices/getUserRoles0" />
    - <wsdl:input name="getUserRoles_input0">
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output name="getUserRoles_output0">
      <soap:body use="literal" />
      </wsdl:output>
    - <wsdl:fault name="com.sap.security.api.UMException">
      <soap:fault name="com.sap.security.api.UMException" use="literal" />
      </wsdl:fault>
      </wsdl:operation>
    - <wsdl:operation name="getAllRolesInNameSpace">
      <soap:operation soapAction="prt:service:com.sap.xcdr.xCDRServices.xCDRServices/getAllRolesInNameSpace0" />
    - <wsdl:input name="getAllRolesInNameSpace_input0">
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output name="getAllRolesInNameSpace_output0">
      <soap:body use="literal" />
      </wsdl:output>
    - <wsdl:fault name="com.sap.security.api.UMException">
      <soap:fault name="com.sap.security.api.UMException" use="literal" />
      </wsdl:fault>
      </wsdl:operation>
    - <wsdl:operation name="assignRoles">
      <soap:operation soapAction="prt:service:com.sap.xcdr.xCDRServices.xCDRServices/assignRoles0" />
    - <wsdl:input name="assignRoles_input0">
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output name="assignRoles_output0">
      <soap:body use="literal" />
      </wsdl:output>
    - <wsdl:fault name="com.sap.security.api.UMException">
      <soap:fault name="com.sap.security.api.UMException" use="literal" />
      </wsdl:fault>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="xCDRServicesService">
    - <wsdl:port name="com.sap.portal.prt.soap.xCDRServices" binding="intf:com.sap.portal.prt.soap.xCDRServicesBinding">
      <soap:address location="http://idesportaluss1.phl.sap.corp:1080/irj/servlet/prt/soap/com.sap.portal.prt.soap.xcdrservices?style=doc_lit" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    Thanks very much in advance!
    Regards,
    Roman

    By the way, I read a few post about this on SDN, but they didn't offer any solutions, and were from almost a year ago, so I was wondering if there's been any progress.

  • 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!

  • 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

  • Web Service Client encoding style error

    Hi all,
    I have a created a java static stub client (created with wscompile from the wsdp). If I run the client I receive the following error
    "unexpected encoding style: expected=http://schemas.xmlsoap.org/soap/encoding/..."
    I am using a delphi web service server, the encoding style is set to "http://schemas.xmlsoap.org/soap/encoding/"
    My server simply echos a string with the method name "echoString"
    Where do I go from here?
    Does the xmlns tag in the "config-wsdl.xml" have anything to do with it?
    Complete error :
    java.rmi.RemoteException: Runtime exception; nested exception is:
    unexpected encoding style: expected=http://schemas.xmlsoap.org/soap/encoding/, actual=
    at com.sun.xml.rpc.client.StreamingSender._handleRuntimeExceptionInSend(StreamingSender.java:248)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:230)
    at staticstub.IMyEmailWebService_Stub.echoString(IMyEmailWebService_Stub.java:68)
    at DelphiClass.main(DelphiClass.java:25)
    Caused by: unexpected encoding style: expected=http://schemas.xmlsoap.org/soap/encoding/, actual=
    at com.sun.xml.rpc.encoding.SOAPDeserializationContext.verifyEncodingStyle(SOAPDeserializationContext.java:159)
    at com.sun.xml.rpc.encoding.ObjectSerializerBase.deserialize(ObjectSerializerBase.java:150)
    at com.sun.xml.rpc.encoding.ReferenceableSerializerImpl.deserialize(ReferenceableSerializerImpl.java:134)
    at staticstub.IMyEmailWebService_Stub._deserialize_echoString(IMyEmailWebService_Stub.java:173)
    at staticstub.IMyEmailWebService_Stub._readFirstBodyElement(IMyEmailWebService_Stub.java:157)
    at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:158)
    Thank you in advance
    Garth

    Looks like the server is not using the correct encoding. I suggest using a packet sniffer so you can actually see the SOAP message to verify that. Apache Axis has a tcpmon utility that works very nicely.

  • 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

  • Problem using WSDL from SAP in IBM's RAD for generating web service client

    When importing a WSDL from the ABAP stack on a SAP 6.40 system into IBM's RAD tool for generating a web service client there are errors with the soap fault classes that get generated.  The WSDL declares the types for the faults with WebServiceName.RfcException and these have elements of name, text, and message.  When the tools see this in the WSDL they generate classes that extend the Java exeception class and this causes an error because the "message" name conflicts with the standard java exception message.  Has anyone else ran into this problem?  It seems like a basic problem many java tools for generating web service client proxies would have because the soap faults get turned into java exceptions.  This name conflict of the java exception with the WSDL fault definition means that code always needs to be adjusted and cannot simply use the classes that are generated from the WSDL.  Anyone run across this or a similar problem in the java environment using the SAP WSDL?
    Aaron

    Hi,
    Hello again .
    Have you tried your service using soapui ?
    You can use your WSDL as input .
    In order to eliminate eclipse problem try this service:(I just did)
    http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL
    Regards.
    package main;
    import java.io.FileInputStream;
    import java.rmi.RemoteException;
    import java.util.Properties;
    import org.oorsprong.www.websamples_countryinfo.CountryInfoServiceSoapType;
    import org.oorsprong.www.websamples_countryinfo.CountryInfoServiceSoapTypeProxy;
    import org.oorsprong.www.websamples_countryinfo.TCountryCodeAndName;
    public class Main {
    public static void main(String[] args) {
      try {
       final Properties properties = new Properties();
       properties.load(new FileInputStream("properties.ini"));
       System.getProperties().putAll(properties);
      } catch (final Exception exception) {
       exception.printStackTrace();
      new Main();
    public Main() {
      try {
       final CountryInfoServiceSoapType infoServiceSoapType = new CountryInfoServiceSoapTypeProxy();
       final TCountryCodeAndName[] tCountryCodeAndNames = infoServiceSoapType.listOfCountryNamesByName();
       for (final TCountryCodeAndName tCountryCodeAndName : tCountryCodeAndNames) {
        System.out.println(tCountryCodeAndName.getSName());
      } catch (final RemoteException exception) {
       exception.printStackTrace();

  • Error in client proxy generation

    Hi experts,
                    I am trying to consume a web-service from an ABAP progam, to do this I create an Enterprise Service Client Proxy. But creation of the proxy fails with the error message
    "Incorrect value: Unknown Namespace http://schemas.xmlsoap.org/soap/encoding/ .
          For client confidentiality issues I cannot put the wsdl file or its content on the thread but I can provide certain details of the code which you might wish to see.
    Also my wsdl contains messages with miltiple parts.Is this also a trouble while generating the proxies in ABAP ?
    Are these two problems related?
      Can I find a link precisely which can provide a kind of checklist to see that these steps have to be followed or  these conditions have to be met by wsdl for generation of client proxies in ABAP?
    Any pointers will be useful.
    Thanks and Regds
    Abhishek

    Hi Anton,
                  I will provide you some piece of the file which might help you in analysing the problem....
    <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:tns="http://www.abc.com"
    xmlns:s1="http://www.abc.com/AbstractTypes"
    xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
    targetNamespace="http://www.abc.com"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
        <s:schema targetNamespace="http://www.abc.com/AbstractTypes">
          <s:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
          <s:complexType name="StringArray">
            <s:complexContent mixed="false">
              <s:restriction base="soapenc:Array">
                <s:sequence>
                  <s:element minOccurs="0" maxOccurs="unbounded" name="String" type="s:string" />
                </s:sequence>
              </s:restriction>
            </s:complexContent>
          </s:complexType>
        </s:schema>
    Similarly the WSDL has messages with multiple parts like:
      <wsdl:message name="GetReleasedGenericDrawing2DHttpGetIn">
        <wsdl:part name="DocumentNo" type="s:string" />
        <wsdl:part name="SheetNo" type="s:string" />
        <wsdl:part name="ClassName" type="s:string" />
      </wsdl:message>
    If you need some ther details from the file please let me know. I have cross checked that it is using a Document/literal style so it should not be a problem.
      I have gone through the SAP note (944029) for the list some forbidden keywords which were a problem  prior to release of SP 16 .We dont have even that problem.
    This thing is very new to me ....please let me know if you wnat some other detail for analysis.
    Regads
    Abhishek

Maybe you are looking for

  • BT Home Move - a night mare (extremely disappointe...

    I am moving flat on 2nd July in the same building and moving to next door. I thought it will be a quick process for BT to move my home telephone line but it was not the case. Since I am trying to resolve the issues which triggered after my first call

  • Branch Office - Mobile Server connection problem

    Branch Office is successfully installed on a XP-PC inclusive the services are started, Mobile -Server is installed on a remote Server. After login with user and password in http://localhost/webtogo/ "Branch Office Web" it takes a while (we think in c

  • How to change the score method for ses crawler table result?

    Hi,all There is a customer urgent requirement,they want customize methods to score the result which come from database same table different column source for relevancy boosting.For example.there is a table t_table which have 3 column:name,short descr

  • Problem with utl file

    Hi to all, I have tried the UTL file concept as per the oracle documentation I have created a directory name read_flat_file and granted read, write permission to the whm user. I am trying to executing the below code as in Oracle Documentation, but I

  • Can't run photoshop elements II

    i have installed photoshop elements II   but when I log on and try to open it ....says photoshop not available check network connections error 400     I am online so what's up with this?