on 02-21-2007 12:32 PM
Dear All,
What si the default Interface namespace and default interface in SOAP sender adapter??
Regards,
Ashish
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,
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bhavesh i am using the wsdl provided by
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
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
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
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
Ashish,
Are you trying a test scenario?
In that case try the Currency Cuonvertor Webservice.
http://www.webservicex.net/CurrencyConvertor.asmx
Regards
Bhavesh
> 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.
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
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
The URL should be:
http://services.xmethods.net:80/soap
Check my How-To-Guide to get an overview about SOAP and SOAP adapter:
Regards
Stefan
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.