cancel
Showing results for 
Search instead for 
Did you mean: 

Web services IN XI

Former Member
0 Kudos

Hi all,

I´m new to WS, I have to public a WS from XI. It is going to be called from an external java program. This external program is going to send data to XI, XI is going to process it and send back to the java program the result for example the output from a mapping. My question is:

If there are any error in XI it is going to be sent throw the xi WS?

I would appreciate information or where a can find this information.

Many thanks

Noelia

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

to establish a web service it is quiet simple.

Just establish your process and in directory, you

can define your web service (Tools -> define web

service) based on an SOAP outbound interface.

Important is the URL you have to give while defining.

It should be like in this blog:

/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services

More complicate is consuming web service with Java.

I first test them with the tool XML Spy. I also

tried it with Java directly, but failed. But I just

tried it not seriously, but if you have a solution

let me know

The problem is the authentification I think.

Once a web service is consumed (for example with XML

Spy) error messages will be returned by XI.

regards

chris

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Another quick question, is this an Asynch or a Synch Call?

if it is a synch call from the WS to Xi to JDBC , then error messages will be automatically sent back to the calling application ( WS in your case ) as is the case with any Synchronous Scenario.

@Christian :

Can you post the URL you used while creating the WSDL for your Outbound Interface in ID. That will allow to get the reason for the error.

Also, the user id user should be an XIAPPLUSER.

Regards,

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

What is the entire flow of your message?

Webservice ( Java Program sending data ) --> XI --> ?? .

On the basis of your target system,and the entire flow of the message, the propogation of error messages can be designed accordingly in XI.

Regards,

Bhavesh

Former Member
0 Kudos

Hi all

Many thnaks for all your answers,

The complete flow of the menssage:

Webservice ( Java Program sending data ) <> XI <> JDBC adapter(ORACLE).

Many thnaks Again

Noelia

former_member187339
Active Contributor
0 Kudos

Hi,

<i>>>I have to public a WS from XI</i>

Refer this blog:

/people/sap.user72/blog/2005/11/17/xi-how-to-publish-wsdl-generated-from-xi-to-uddi

<i>

>>XI is going to process it and send back to the java program the result for example the output from a mapping.</i>

Sender is your java program, who is your receiver?

(sender---- XI -


?)

Regards

Suraj