on 06-13-2006 9:11 PM
Hi,
In SOAP->XI->RFC->SOAP scenario
After above configuration I generated WDSL from Tools-> Define web services.
I Override the default URL with following while generating WSDL using web service wizard with-> "http://host:port/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>"
host -XI server IP
port -8042
<service> -Message interface(Out, Syn) Name
<channel> -SOAP Sender communication channel name
Then in Altera XML Spy i "Create a new SOAP Request".
then When i am trying clicked on "Send request to server"
I am getting following error:
"HTTP error: could not POST file '/XISOAPAdapter/MessageServelet?channel-:MI_SOAPFMTEST:SOAP_SENDER' on server 'sapr3001.bently.com'(404)."
Any Help? Why I am getting above error while sending SOAP message with Altova XML Spy
Regards
Hello Umesh,
Generally as you know 404 - is notfound error. as Jesse pointed out there are some errors in the URL etc.
please check the following blog that gives you a idea of deploying and accessing a webservice.
I also used several times xmlspy. Please make sure that the URL you are calling when making SOAP request the one you are looking are same. You can check that in the content of wsdl.
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
Best regards
Vara
[Please award points for postings]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You all are correct My URL was wrong, Now i am using following URL
http://sapr3001:54200/XISOAPAdapter/MessageServlet?channel=:X42:SOAP_SENDER
X42 - Business System Name for XI
SOAP_SENDER - SOAP communication channel name
Now after uploading WSDL in XML Spy, When i am trying clicked on "Send request to server" it is asking XI login ID & Password, Then it is throwing following error:
"HTTP error: could not POST file '/XISOAPAdapter/MessageServlet?channel=:X42:SOAP_SENDER' on server 'sapr3001'(500)."
Also when i am trying to opening URL
"http://sapr3001:54200/XISOAPAdapter/MessageServlet?channel=:X42:SOAP_SENDER" in internet explorer i am getting following error:
Message Servlet is in Status ERROR
Status information:
Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/aii/30_VAL_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#5 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal not instantiated
ModuleProcessorRemote not instantiated
Is still i am wrong with URL or Web-service in XI generated wrongly? Any guess?
Regards
Hi Umesh,
Your URL looks correct. I remember initially getting this error when testing from XMLSpy. I think it's an authorization error.
Setup the XI user as a 'Service' user and make sure it has the correct permissions.
Also, goto SOAP->Change SOAP Request Parameters and make sure that the 'Connection Endpoint' and 'SOAPAction' are set. The SOAPAction should be set to 'http://sap.com/xi/WebService/soap1.1'.
You shouldn't have to set these since they're in the WSDL, but sometime the SOAPAction doesn't get set. This is an bug with XMLSpy and not an issue with your WSDL.
Thanks,
Jesse
Hi Umesh,
Refer this SAP note - 856597 Question No.1
Also make sure that port is correct one..
Also check this-
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Umesh,
The following things don't look correct with the URL:
1) The port should be 5<System Number>00 so probably 50000.
2) In the error message 'MessageServlet' is mispelled so you may have it incorrect in the URL
3) In the error message there's a "-" after the channel when there should be an "=" so you may have it incorrect in the URL
Thanks,
Jesse
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.