Web Service: error trying to assigned reply vals to BO attrb

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Bryan
Posts: 195
Joined: Fri Apr 03, 2009 12:46 am
Location: Cincy

Post by Bryan »

I dug a bit further. It seems the ability to specify SOAP channel specific options is only available to 'Aware IM System' types. If I use the 'Software System' type the only option is the WSDL URL. Is there another way to specify SOAP header information for 'Software System' types?

Thanks
-Bryan
Version 8 (Build 2358)
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

If another non-Aware IM system needs to use an Aware IM service, it needs to send a SOAP message manually. This is outside of Aware IM control. The SOAP message structure must correspond to the WSDL format exposed by Aware IM. This includes the header (user name and password). I believe all details about it are in the Tips and Tricks forum.
Aware IM Support Team
Bryan
Posts: 195
Joined: Fri Apr 03, 2009 12:46 am
Location: Cincy

Post by Bryan »

I just looked through the Tip and Tricks area again and did not see the post you where referencing.

Just to Clarify: The Aware IM application I am configuring is the consumer of an outside web service. The question I have is how do you specify SOAP header information when consuming a webservice through Aware IM. This external service is not another Aware IM application.

Thanks again for all the help.
-Bryan
Version 8 (Build 2358)
aware_support
Posts: 7526
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

When Aware IM version is published all services are exposed as WSDL files. The Web Services Tip topic in the Tips and Tricks forum has info where the WSDL files are. An external system must send a SOAP message that conforms to the structure of the WSDL file. Here is an example of such message:

(you do need to understand SOAP and WSDL)

<?xml version=\"1.0\" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"> \r\n");
<soapenv:Body>
<ns1:ReceiveOrder soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://webservices.webapp.bas.com">
<domainName xsi:type="xsd:string">SoapSample</domainName>
<userName xsi:type="xsd:string">admin</userName>
// password must be encrypted
<password xsi:type="xsd:string">abcdef56673245456667898</password>
<param0 href="#id0" />
</ns1:ReceiveOrder>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:PurchaseOrder" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:abc">
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns2:PurchaseOrder" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="urn:SoapSample">
<orderID xsi:type="xsd:string">rty</orderID>
<price xsi:type="xsd:long">12</price>
</multiRef>
</soapenv:Body>
</soapenv:Envelope>
Aware IM Support Team
Post Reply