webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  SOAP RPC error

    Posted Fri August 06, 2004 04:25 PM

    Hi,
    I created the test client on my application server and tested the webService. No problems there. But when I create a webService connector in webMethods and test the webService, it responds with the following error at SOAP:RPC service.

    <soap-env:envelope>

    <soap-env:body>
    <soap-env:fault>

    <faultcode>SOAP-ENV:Server</faultcode>
    <faultstring>java.lang.IllegalArgumentException: No Serializer found to serialize a ‘org.w3c.dom.Element’ using encoding style ‘[url=“http://schemas.xmlsoap.org/soap/encoding/”]http://schemas.xmlsoap.org/soap/encoding/[/url]’.
    </faultstring>

    <faultactor>/ManufacturerWeb/servlet/rpcrouter</faultactor>

    </soap-env:fault>
    </soap-env:body>
    </soap-env:envelope>

    Any suggestions would be helpful.


    #webMethods
    #API-Management
    #soa


  • 2.  RE: SOAP RPC error

    Posted Fri August 06, 2004 04:50 PM

    NN,

    This is related to Schema encoding error when you are sending the XML data via default SOAP-RPC processor.So IS internal SOAP-RPC is throwing this SOAP FAULT Error.Reason might be the data/Elements which you are mapping to “reqParms”,targetInputSignature set in the pub.client:soapRPC service is not been properly encoded according to [url=“http://schemas.xmlsoap.org/soap/encoding/”]http://schemas.xmlsoap.org/soap/encoding/[/url]’ defined in the WSDL file.

    Anyways Mark is the webservices expert to resolve this issue.

    HTH,


    #soa
    #webMethods
    #API-Management


  • 3.  RE: SOAP RPC error

    Posted Fri August 06, 2004 05:17 PM

    Hi RMG,
    Thanks for reply. Does IS default RPC-Encoding supports this call which I am trying to. I guess its specific to Apache SOAP and its not a standard encoding and IS supports standard encoding. As I developed the webserivce on appliaction server which supports Apache SOAP, thats might be the problem but I am not sure.

    Any ideas?


    #webMethods
    #API-Management
    #soa


  • 4.  RE: SOAP RPC error

    Posted Fri August 06, 2004 07:16 PM

    NN,

    Please go thru this documentation “SOAP_Developers_Guide.pdf”.provided by webMethods.

    It explains the answer for using Default,SOAP-RPC Processors,custom SOAP Processors.

    HTH,


    #soa
    #webMethods
    #API-Management


  • 5.  RE: SOAP RPC error

    Posted Sat August 07, 2004 01:42 PM

    NN,

    Can you use the Axis soapmonitor or tcpmonitor utility to capture the response from your web service? It appears that your service is returning something that IS can’t deserialize. The soap response message might give us a clue.

    What is the signature of your web service? What data types does it accept/return?

    Mark


    #API-Management
    #soa
    #webMethods


  • 6.  RE: SOAP RPC error

    Posted Mon March 14, 2005 06:35 AM

    Hi,

    I am trying to invoke a WebService. I have successfully created the WebService connector using the WSDL at the URL - “[url=“http://weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl”]http://weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl[/url]”. When I’m trying to test the Server function NDFDgenByDay()/NDFDgen(), I’m getting the following error - java.net.ConnectException: Operation timed out: connect.

    I have even set the watt.net.timeout=600, but still Im getting the same exception.

    I have provided all the necessary inputs and even the host/function names are valid.
    You can check the required inputs to the connector on the webpage - “[url=“http://weather.gov/xml/”]http://weather.gov/xml/[/url]”.

    Why am I getting this error when Im trying to test the webservice connector.

    Environment is: IS 6.1 , windows XP, JVM 1.4.1

    Thanks,
    Sachin

    package
    Sachin.zip (15.9 k)


    #soa
    #API-Management
    #webMethods


  • 7.  RE: SOAP RPC error

    Posted Mon March 14, 2005 02:04 PM

    Sachin,

    See my answer on the other thread.
    [url=“wmusers.com”]wmusers.com
    Please do not cross-post.


    #soa
    #webMethods
    #API-Management