I was wondering if anybody has already dealt with talking to .NET web
services that are using the WSE 3 extensions installed.

Specifically, I need to sed over the authentication token.  The
SOAPHeader looks like this (below).  I've seen the corelibs wrapper,
and it solves the problem of writing the contents of the token, but I
am not clear on how to add the appropriate namespaces to the SOAP
call, short of writing XML by hand and pushing it out of FLEX as a
workaround---something I'd like to avoid.

The example below shows a .NET client sending a standard call to a
WSE3 web service that is just checking for the presence of a token. 
It is not authenticating it and no special body encryption is performed.

If anybody has any ideas or sample code they've already done to
accomplish this I'd appreciate very much!

---

POST /MVC/ViewSoapService.ashx HTTP/1.1
User-Agent: Microsoft WSE 3.0
Content-Type: text/xml; charset=utf-8
SOAPAction: "uri:isos-online-irc-controller-1.0/GetView"
Host: phlws2366
Content-Length: 1527
Expect: 100-continue
Proxy-Connection: Keep-Alive

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"; 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>

<soap:Header>
<wsa:Action>uri:isos-online-irc-controller-1.0/GetView</wsa:Action>
<wsa:MessageID>urn:uuid:f3accba1-5b29-4a1a-9710-e7f292f3a2d4</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo>
<wsa:To>http://phlws2366/MVC/ViewSoapService.ashx</wsa:To>

<!-- important part -->
<wsse:Security>
<wsu:Timestamp wsu:Id="Timestamp-d11e332a-58ce-4a5f-b04f-72db481464eb">
<wsu:Created>2006-09-27T19:53:21Z</wsu:Created>
<wsu:Expires>2006-09-27T19:58:21Z</wsu:Expires>
</wsu:Timestamp>
</wsse:Security>
</soap:Header>


<!-- boring data bit -->
<soap:Body><ISOSView
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; ViewName="Regional
Alerts" ViewID="RegionalAlertsView"><Payload
xmlns="uri:isos-online-foundation-ui-types-1.0"><Item><ItemData
xsi:type="xsd:string">INTLSOS</ItemData></Item><Item><ItemData
xsi:type="xsd:string">1accb176-4962-4aad-b610-1dc22a3379e7</ItemData></Item><Item><ItemData
xsi:type="xsd:string">ENG</ItemData></Item><Item><ItemData
xsi:type="xsd:string">ACTIVE</ItemData></Item><Item><ItemData
xsi:type="xsd:int">7</ItemData></Item></Payload></ISOSView>
</soap:Body>

</soap:Envelope>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to