Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
- xmlns:soap="http://soap.ipr.tfp.com/">
- <soapenv:Header/>
- <soapenv:Body>
- <soap:create>
- <arg0>
- <attribute_1>abc</attribute_1>
- <attribute_2></attribute_2>
- <attribute_3>abc123</attribute_3>
- <attribute_4>abc234</attribute_4>
- <attribute_5></attribute_5>
- </arg0>
- </soap:create>
- </soapenv:Body>
- </soapenv:Envelope>
- <cfscript>
- ws = CreateObject("webservice", [HTTPS URL]?wsdl);
- //show web service methods for debugging purposes
- writeDump(ws);
- // construct arguments
- args = {attribute_1="abc"
- , attribute_2=""
- , attribute_3="abc123"
- , attribute_4="abc234"
- , attribute_5=""
- };
- // call the method
- result = ws.create(arg0=args);
- writeDump(result)
- </cfscript>
- Cannot perform web service invocation create.
- The fault returned when invoking the web service operation is:
- AxisFault
- faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
- faultSubcode:
- faultString: These policy alternatives can not be satisfied:
- {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}AsymmetricBinding: Received Timestamp does not match the requirements
- {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token: The received token does not match the token inclusion requirement
- {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}X509Token
- {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}InitiatorToken
- {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}RecipientToken
- {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}IncludeTimestamp: Received Timestamp does not match the requirements
- {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}SignedParts: {http://schemas.xmlsoap.org/soap/envelope/}Body not SIGNED
- {http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702}EncryptedParts: {http://schemas.xmlsoap.org/soap/envelope/}Body not ENCRY...
- <cfhttp
- url = "[HTTPS URL]?wsdl"
- method ="post"
- result ="httpResponse"
- charset ="utf-8">
- <cfhttpparam
- type="header"
- name="accept-encoding"
- value="no-compression"
- />
- <cfhttpparam
- type="xml"
- value="#trim( soapBody )#"
- />
- ws = CreateObject("webservice", [HTTPS URL]);
- ws = CreateObject(
- "webservice",
- "[HTTPS URL]",
- {wsversion="1"}
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement