Invoking web service using XML in RPGLE PGM

30 pts.
Tags:
AS/400
PGM
RPGLE
I'm receiving error 415 - unexpected content type error - I have double checked the SOAP and all appears correct - is there a statement I need to add for content type to the XML? How can I tell what is causing this error? SOAP XML from PGM.
SOAP = '' + 'http://www.w3.org/2003/05/soap-envelope" '+ 'xmlns:tem="http://tempuri.org/"> '+ ''+ 'xmlns:wsa="'">http://www.w3.org/2005/08/addressing">'+ 'http://tempuri.org/universalcoderservice ValidateAddress'+ '' + '' + ''+ ' AdminAdmin'+ ''+ '000'+ '8655 E Via de ventura'+ 'Scottsdale'+ 'AZ85258'+ ''+ ''+ ''+   ''+ ''+ ''+ '';


Software/Hardware used:
RPGLE
1

Answer Wiki

Thanks. We'll let you know when a new response is added.

If you are new to XML webservices. Check out Scott Klements web site. He has a lot of good examples and code that will help you get started.  LINK

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: