Hi there,
I seem to be almost there with a small web service application I have been attempting to develop. However, I seem to be having a problem with this final part:
The request I am generating (which I have viewed using proSoapView):
The part that is causing the error is:
<s0:ExecuteAction>
This should be:
<s0:ExecuteAction xmlns="http://mywebservice.com/pcws.V1.0.0.1">
If I insert this manually into the xml via the proSoapViewer and resend the request it works fine and I recieve a successfull response.
I am unsure how to add the namespace at this point as this is code that is generated by progress as part of the SOAP wrapper in effect.
Any help would be much appreciated.
Thanks
Chad
I seem to be almost there with a small web service application I have been attempting to develop. However, I seem to be having a problem with this final part:
The request I am generating (which I have viewed using proSoapView):
Code:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header>
<ns0:OperatorInfo xmlns:ns0="http://mywebservice.com/pcws.V1.0.0.1">
<ns0:ApplicationID>0000000000000-0000-0000-000000000000</ns0:ApplicationID>
<ns1:OperatorID xmlns:ns1="http://mywebservice.com/pcws.V1.0.0.1">OPid</ns1:OperatorID>
<ns2:OperatorPassword xmlns:ns2="http://mywebservice.com/pcws.V1.0.0.1">OPpasword</ns2:OperatorPassword>
</ns0:OperatorInfo>
</SOAP-ENV:Header>
<SOAP-ENV:Body xmlns:s0="http://mywebservice.com/pcws.V1.0.0.1" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:s2="http://www.w3.org/2001/XMLSchema">
<s0:ExecuteAction>
<s0:request xsi:type="UpdatePaymentPlanStatusRequest">
<PaymentPlanID>0000000000000-0000-0000-000000000000</PaymentPlanID>
<Status>Suspended</Status>
</s0:request>
</s0:ExecuteAction>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
The part that is causing the error is:
<s0:ExecuteAction>
This should be:
<s0:ExecuteAction xmlns="http://mywebservice.com/pcws.V1.0.0.1">
If I insert this manually into the xml via the proSoapViewer and resend the request it works fine and I recieve a successfull response.
I am unsure how to add the namespace at this point as this is code that is generated by progress as part of the SOAP wrapper in effect.
Any help would be much appreciated.
Thanks
Chad