cancel
Showing results for 
Search instead for 
Did you mean: 

Consuming XI Web Services

Former Member
0 Kudos

Hello!

I work with RFC-> XI -> SOAP scenario.

I created my wsdl file and i imported it into a Eclipse (last version) project.

I tested W.S. with eclipse W.S. Explorer in EClipse and I they worked correctly.

I generated Client but I need some code example for call service and capture response data.

I created a java class, they call correctly request but response is always null.

Does anyone can help me?

Alessandro

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Alessandro,

Have u seen this blog...

<b>RFC-XI-WebService scenario</b>

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

<b>Troubleshooring RFC and SOAP scenarios</b>

/people/shabarish.vijayakumar/blog/2008/01/08/troubleshooting--rfc-and-soap-scenarios-updated-on-20042009

cheers,

Prashanth

P.S Please mark helpful answers

former_member8655
Active Participant
0 Kudos

Hi Alessandro

Let me understand your sender will use a Web service to send data to Xi which than will be posted in ABAP.

Now you want that your web service should respond on request.

Is your web service synchronoues?

If not make it ,than only you can expect response

Regards

Mitesh

Former Member
0 Kudos

Yes my interface is syncronus.

If i send a test message, in xi xml-monitor i can see 2 messages (request and response) .

All work correctly .

The problem is in java code:

....

DT_MXSP_USER_RES ret = (DT_MXSP_USER_RES) call.invoke(new java.lang.Object[] );

...

I obtain null in ret parameter