on 09-26-2007 12:18 PM
Hi All,
I am working on a scenario where I need to integrate web methods and XI using web services. I got WSDLs from my web methods team I have tested the same in XML spy they are working fine and I am able to see response in it.
I have imported the same WSDL in XI and done with all the XI developments. When I am trying to send any request to web methods I am getting an exception from web methods like below,
-
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>[ISS.0088.9112] An Exception was thrown in the server</faultstring>
<faultactor>http://abcdefgh.com:6557/soap/default</faultactor>
- <detail xmlns:webM="http://www.webMethods.com/2001/10/soap/encoding">
- <webM:exception>
<webM:className>java.lang.NullPointerException</webM:className>
<webM:message xml:lang="" />
<webM:stackTrace xml:lang="">java.lang.NullPointerException at com.wm.util.LocalizedException.<init>(LocalizedException.java:229) at com.wm.app.b2b.server.ServerException.<init>(ServerException.java:55) at com.wm.app.b2b.server.ServiceException.<init>(ServiceException.java:43) at com.wm.app.b2b.server.SOAPException.<init>(SOAPException.java:102) at com.wm.app.b2b.server.SOAPMessage.validate(SOAPMessage.java:957) at com.wm.app.b2b.server.HTTPSOAPHandler._process(HTTPSOAPHandler.java:429) at com.wm.app.b2b.server.HTTPSOAPHandler.process(HTTPSOAPHandler.java:111) at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:298) at com.wm.util.pool.PooledThread.run(PooledThread.java:105) at java.lang.Thread.run(Thread.java:534)</webM:stackTrace>
</webM:exception>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
-
I have configured my SOAP communication channel as below,
Transport protocol: HTTP
Message protocol : SOAP 1.1
Target URL : http:// abcdefgh.com:6557/soap/default
Do not use SOAP envelop (Checked)
Any help on this would be greatly appreciated.
Regards,
Prasad Babu.
Hi,
I have investigated the problem and some how solved it. Here is the solution,
>> The reason behind the problem is structural miss match in the request message. And mainly because of namespace in the request structure.
So I changed the namespace as it appears in XML spy and I tried with the same request message and it works
So thats the END to all the problems. If any one of you need any clarification please feel free to contact me at prasadbabu.koribilli@gmail.com
Cheers,
Prasad Babu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have investigated the problem and some how solved it. Here is the solution,
>> The reason behind the problem is structural miss match in the request message. And mainly because of namespace in the request structure.
So I changed the namespace as it appears in XML spy and I tried with the same request message and it works
So end to all the problems :). If any one of you need any clarification please feel free to contact me at prasadbabu.koribilli@gmail.com
Cheers,
Prasad Babu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prasadbabu,
In the target url, replace the hostname abcdefgh.com with its ipaddress and trigger ur scenario. Let me know if it works or not ?
Regards,
Sreenivas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi !
<b>XI->SOAP->Webmethod</b>
also check with these
XI->SOAP->Webmethod we can achieve it.
This might help you
/people/abhy.thomas/blog/2007/04/19/sap-xi--webmethods-integration-150-challenges-and-migration-strategies
Just a thought
SAP BC is also a webmethods proprietary integration solution. So in my opinion u should look into SAP BC adapter for ur integration requirements.
/people/michal.krawczyk2/blog/2005/09/15/xi-rfc-mapping-lookups-from-bc-to-xi
/people/bla.suranyi/blog/2006/07/10/xi--sap-business-connector-integration-using-the-http-adapter
WebMethods has developed a WebMethods XI adapter that is plugged into WebMethods and that can post messages into the XI PipleLine url in the XI SOAP Message Format.
Liewise XI can use the XI receiver adapter to post the message to a particualr URL on WebMethods.
WebMethods will read the info from this URL using the Sender XI Adapter plugged into WebMethods.
Abhy Thomas has also posted a Article on SDN and this should be out soon that discusses the finer acspects of this implementation while his blog provides a high level overview.
There are couple of docs available - kind of case study..
/people/abhy.thomas/blog/2007/04/19/sap-xi--webmethods-integration-150-challenges-and-migration-strategies
<b>Questions are welcome here!!
Also mark helpful answers
Thanks,
Abhishek Agrahari </b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prasad,
I have also faced this type of problem. This weblog help you to solve your prob
/people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
>> when we tried to call Web service from XI, We were getting Fault message, But >>when we called the same Web service from the Web service testing tool. it >>was working fine.
Also check the message structure that is coming from webmethods and WSDL response message type are equal or not. if it is not, remove envolope
>>Reward points if it is useful.
Thanks
Deviprasad Pothireddi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In wsdl u remove all hypens(-) and then try it will work then.
regards
yugapreetha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.