on 08-08-2006 9:20 PM
HI All,
I have a reciever SOAP channel setup to send a message and its attachments to a supplier. The recieving application is as follows:
"It just receives the stream or contentStream and print out the content. It's just a test to see what you sent to us. It processes all http/https messages."
If I leave the SOAP Envelope on I get the content type error in the header. If I turn the Enveloper off, I get a successful post. They are try to trap what I send to build a SOAP processor, so they want the SOAP envelope. What could be causing this?
Kind Regards,
Chris
Hi Richard,
The web service address that we must type in target URL of receiver soap adapter is the address to the WSDL. To be sure types this address in your browser and you must see a WSDL code of the webservice that you want invoke.
The reason that you are getting Delivery Exception: invalid content type for SOAP:TEXT/HTML. is because you are trying to invoke a web service with wrong address.
So, when SOAP receiver adapter try to put the message on the target side, it cant and automatically receives an HTTP acknowledge in HTML format. As SOAP adapter doesnt understand HTML code only XML code, it cant recognize what kind of error is and generates an exception indicating that the content type is invalid.
Delivery Exception: invalid content type for SOAP:TEXT/HTML is equal to any HTTP code, I have almost sure that HTTP code is a 404 Not Found, but you cant see it...
Post the URL here for I can check
Cheers,
Ricardo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Have a look into this thread- similar discussion
Also check this- in the Reciever SOAP Adapter configuration i.e Target URL must be url of the WSDL.
Hope this helps,
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.