cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Sender

Former Member
0 Kudos

Dear All,

What si the default Interface namespace and default interface in SOAP sender adapter??

Regards,

Ashish

Accepted Solutions (1)

Accepted Solutions (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Ashish,

In your Sender SOAP adapter, the Default Namespace and Default Interafce refer to the Sedner Interface name and Namespace.

Also, look into this how to guide,

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a2202...

Regards

Bhavesh

Former Member
0 Kudos

Is it the namespace that is created in IR as the first step when the SWCV is imported???

Regards,

Ashish

Former Member
0 Kudos

<i>Is it the namespace that is created in IR as the first step when the SWCV is imported???</i>

yes

Former Member
0 Kudos

Hi Ashish,

yes after SWCV is imported, namespace is created and then the complte scenario is configured in that namespace.

Thanks,

Rajeev Gupta

Message was edited by:

RAJEEV GUPTA

bhavesh_kantilal
Active Contributor
0 Kudos

The namespace in which you created your outbound message interface.

You will also need to expose this message interafce as a Webservice and create the WSDL for it. Refer to section 3.2.2 of the document in my previous reply.

Regards

Bhavesh

Former Member
0 Kudos

YES

Former Member
0 Kudos

Bhavesh i am using the wsdl provided by

http://www.xmethods.net/ve2/ViewListing.po;jsessionid=AZcROgfG9qABCIzElW_PsBaS(2MgVnSRM)?key=uuid:D7...

I have imported it into my external definations.

so the sender interface is from the wsdl itself, do i still need to create wsdl for the sender interface.

also in BPM, what is that we need not create sender aggrement or receiver aggrement???

Regards,

Ashish

Former Member
0 Kudos

Hi Ashish,

If you are using BPM and BPM is going to recive then their is no need to create a Reciver agreement.

if your importing WSDL then their is no need to create WSDL for you.

Regards

Sreeram.G.Reddy

bhavesh_kantilal
Active Contributor
0 Kudos

Ashish,

Can you tell me what you are trying to do?

To use a Sender SOAP adapter, you need to expose your Message Intrafce as a Webservice.

The WSDL provuided to you should be used in the Recieevr Side witha Receiver SOAP adapter to invoke the webservice.

Regards

Bhavesh

Former Member
0 Kudos

Bhavesh,

I copied the wsdl from their website and imported it into External definations.

then i am doing file (async) to soap(sync) scenario:

Rec > Transform > Send (sync) > Transform > Send (async to file).

I created 8 interfaces:

file_Ob

File_ob_AB

File_IB

File_IB_AB

Soap_Sync

Soap_Sync_AB

SOAP_Req_Async_AB

SOAP_Res_Async_AB

I have 3 RD and ID for (file > bpm) (bpm > SOAP) (bpm > File)

2 Recievr Agg

1 Send Agg.

1 sender file adapter, 1 receiver file adapter, 1 SOAP Receiver adapter.

Am I on right track???

Regards,

Ashish

Message was edited by:

Ashish Goyal

Former Member
0 Kudos

Guys,

error message after my config is:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Call Adapter

-->

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Please advice.

Regards,

Ashish

Former Member
0 Kudos

check your SOAP Adapter it is giving SOAP Adapter error

bhavesh_kantilal
Active Contributor
0 Kudos

Ashish,

This error is because the webservice expects the Content Type as APPLICATION / XML.

To handle this, please look into this thread and read the reply by Stefan Grube,

Regards

Bhavesh

Former Member
0 Kudos

Dear Bhavesh,

As per the web site from where i took the wsdl: http://www.xmethods.net/ve2/ViewListing.po;jsessionid=AZcROgfG9qABCIzElW_PsBaS(2MgVnSRM)?key=uuid:D7...

The the message format it expects is :

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org/1999/XMLSchema">

<SOAP-ENV:Body>

<ns1:getRate xmlns:ns1="urn:xmethods-CurrencyExchange" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">

<b><country1 xsi:type="xsd:string">England</country1>

<country2 xsi:type="xsd:string">Japan</country2></b>

</ns1:getRate>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

how do I get the highlighted area in my message?

My message looks like:

<b><country1>England</country1>

<country2>Japan</country2></b>

how do i insert <b><i>xsi:type="xsd:string"</i></b>

also can you suggest me some WSDL which works fine?

Regards,

Ashish

Message was edited by:

Ashish Goyal

bhavesh_kantilal
Active Contributor
0 Kudos

Ashish,

Are you trying a test scenario?

In that case try the Currency Cuonvertor Webservice.

http://www.webservicex.net/CurrencyConvertor.asmx

Regards

Bhavesh

Former Member
0 Kudos

Dear Bhavesh,

For the wsdl that you have mentioned, what is the url that I need to use?

What is the password?

What is the structure of request and response message?

Regards,

Ashish

henrique_pinto
Active Contributor
0 Kudos

> Ashish,

> This error is because the webservice expects the

> Content Type as APPLICATION / XML.

>

> To handle this, please look into this thread and read

> the reply by Stefan Grube,

>

> /message/2422#2422 [original link is broken]

> 573&tstart=0

>

> Regards

> Bhavesh

Bhavesh,

thats the case for when u use the "no soap envelope" option, which is not the case here. Also, if he had a wrong header, the error message should be something different (a http error, not like that).

Ashish,

The most likely cause is a 404 error (not found), 403 (forbidden) or something like that. Did you test the wsdl in XMLSpy?

Regards,

Henrique.

bhavesh_kantilal
Active Contributor
0 Kudos

No password is needed.

Go to the link, click on Link <b>ConversionRate</b> Scroll to the bottom of the page that is displaed and you can see the demo to give the input and output.

Give Input as USD and output as INR and you will get the conversion rate.

For the WSDL, http://www.webservicex.net/CurrencyConvertor.asmx?WSDL

Open this in a browser and then go to File--> Save AS and save it as a .WSDL file and impot it into XI.

Regards

Bhavesh

Former Member
0 Kudos

Thanks Henrique,

the error message I am getting is :

<i><b>Method Not Allowed

The requested method POST is not allowed for the URL /sd/2001/CurrencyExchangeService.wsdl.

-


Apache/1.3.26 Server at www.xmethods.net Port 80</b></i>

Please advice.

Regards,

Ashish

henrique_pinto
Active Contributor
0 Kudos

how did you get that error again? checking the wsdl link in the browser?

Henrique.

stefan_grube
Active Contributor
0 Kudos

The URL should be:

http://services.xmethods.net:80/soap

Check my How-To-Guide to get an overview about SOAP and SOAP adapter:

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40611dd6-e66e-2910-f383-e80fb44f...

Regards

Stefan

Former Member
0 Kudos

Ya guys its working now. I used the WSDL given by Bhavesh...

Thanks for your input guys.

Regards,

Ashish

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Ashish,

default Interface namespace is our Namespace of our scenario

and default interface is our Message Intrafce name of Outbound scenairo.

Regards

Sreeram.G.Reddy