cancel
Showing results for 
Search instead for 
Did you mean: 

web Methods- SOAP-XI Integration

former_member181959
Contributor
0 Kudos

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.

Accepted Solutions (0)

Answers (7)

Answers (7)

former_member181959
Contributor
0 Kudos

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.

former_member181959
Contributor
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/a%20case%20stud...

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

thread discussion..

<b>Questions are welcome here!!

Also mark helpful answers

Thanks,

Abhishek Agrahari </b>

Former Member
0 Kudos

Check with this Thread

<b>Questions are welcome here!!

Also mark helpful answers</b>

Thanks,

Abhishek Agrahari

deviprasad_pothireddy
Active Participant
0 Kudos

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.

Former Member
0 Kudos

Hi

In wsdl u remove all hypens(-) and then try it will work then.

regards

yugapreetha