on 11-23-2011 7:25 PM
Hi All,
I am working on soap <--> rfc synchronous scenario.
I developed the entire scenario and also I generated the wsdl file from id(tools-->display webservice).
When i was generating the wsdl file,I used the propose url option.
I downloaded the altova xml spy to test the scenario.i opend my wsdl file in xml spy and i sent the soap request to server.
I got the below error responce.
"HTTP operation 'POST' could not beperformed on url" and once I click on ok, again it is saying " the server name or address could not be resolved".
I think my pi scenrio development is correct. And this is B2B scenario and we are using party.
My url is: http://<host name>:54000/sap/xi/engine?type=entry&version=3.0&Sender.Party=http%3A%2F%2Fsap.com%2Fxi%2FXI%3AXIParty%3<party name>&Sender.Service=<sneder service name>&Interface=urn%3Aadis.com%2FB2B%2FAppleNSO%2FMaterial_Status%5E<sender service name>
But this is not like what i read in so many sites like:
http://host:port/XISOAPAdapter/MessageServlet?channel=<party17>:<BS_soap_send>:<channel>;
Doubt: While creating the soap request whch one i should use, the one which given by the client(wsdl file having all fields values) or generated wsdl file?
Can any one help on this issue.
Edited by: maridu on Nov 23, 2011 8:29 PM
>When i was generating the wsdl file,I used the propose url option.
Dont use the proposed option.
>Doubt: While creating the soap request whch one i should use, the one which given by the client(wsdl file having all fields values) or generated wsdl file?
Both should be same. Use the one given by the client.
WSDL creation: The easiest way to generate WSDL is go to sender agreement and click display wsdl and save file. WSDL URL is nothing but go to wsdl and see address tag location. You see URL.
WSDL URL sample:
http://<hostname>:<port>/ XISOAPAdapter/MessageServlet? channel=<party>:<service>:<channel>
Where party - partyname, service - sender service interface , channel - sender communication channel name
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi maridu,
1°
Is your soap channel sender?
If yes, check this tuto:
http://www.riyaz.net/sap/xipi-a-guide-to-using-sap-xi-soap-adapter/113/
att.
DO NOT USE PROPOSED OPTIOn when you generate WSDL from Service interface. It always takes your integration engine URL which cannot be used in your case.
When u generate WSDL file, please provide the URL as
http://<hostname>:<port>/ XISOAPAdapter/MessageServlet? channel=<party>:<service>:<channel>
MAKE SURE U HAVE NOT SELECTED PROPOSED OPTION
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi maridu,
1) It seems to be you have selected the HTTP secutity level as HTTPS in sender Communication channel and using the url of HTTP.
Please change the the HTTP secutity level to 'HTTP' in sender Communication channel .
2) If you want to use HTTP secutity level as 'HTTPS with/without Client authentication', then you need to change the URL to HTTPS. For that HTTPS port should be enabled in SMICM. If it is already available change the URL as follows,
https://<host name>:<HTTPS Port>/sap/xi/engine?type=entry&version=3.0&Sender.Party=http%3A%2F%2Fsap.com%2Fxi%2FXI%3AXIParty%3<party name>&Sender.Service=<sneder service name>&Interface=urn%3Aadis.com%2FB2B%2FAppleNSO%2FMaterial_Status%5E<sender service name>
Hope this should solve your problem.
Regards
Baskaran K
Edited by: Baskarank85 on Nov 24, 2011 9:35 A
Edited by: Baskarank85 on Nov 24, 2011 9:36 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Baskaran,
I used http security level as 'http' only,even i am getting the same error.
Can you tell me what I mentioned in the url is correct or not.
When i try to test the file from xml spy it is not at all going to pi only.
do I need any connections from the basis?
Thank you .
Regards,
srihari.
Hi Srihari,
As you mentioned, if it throwing error could not resolve the server/host, it means the host name is wrong or not accessible. Please copy th url into browser and check what error it showing.
If you find the same error, replace the host name with IP Address and check. Or Maintain as entry in host file for your address.
Regards
Baskaran K
Hi
If you are using PI 7.0 then you will not have option for generation the WSDL from sender agreement.
Even if you use propose url it should work,make sure you are connected to network, try using soap UI tool .
few more useful points : May be nt exactly relevent to ur question bt worth checking.
Also you can try adding &QualityOfService=<> tag at the end of url , also check if u hv added ..sync logging
SXMB_ADM->Integration server config ->then add Category runtime -> logging_sync -> value = 1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi srinivasa karnam,
You are right i followed your inputs, I succeded.
And one more i want to say I used porposed url which is working fine.
Finally what I did, I generated the wsdl file from the ID(tools-->display url).
Then after I extracted one more wsdl file from the sender agreement.
And I imported the wsdl file and I created the one soap request by using sender agreement.
I got the responce back from my sap system.
Thank you all for your valuable inputs.
Regards,
Srihari.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.