I have been trying to get the examples included in this article ( http://wso2.org/library/1092) working, but am having trouble.
I've deployed the RMSampleService exactly as it comes from the Sandesha2 distribution (I downloaded the src distro and built it myself using maven.) I modified the UserguideEchoClient class as attached, adding the relevant lines from the article (linked above). I don't want to set useSeparateListener(true), since as the article suggests, this can raise issues with firewalls. This is especially an issue in my security-conscious community. So, what I'm after is using the same transport channel, either method 1 or method 2 under "WSRM 1.1" in the article. Incidentally, before specifying WSRM 1.1, the client and server work exactly as expected (with RM 1.0). When I specify WSRM 1.1, the client hangs. I run it through TCPMon (port 9763, forwarding to Axis on 8080), and what I see is the following sequence of messages: <?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:To>http://127.0.0.1:9763/axis2/services/RMSampleService</wsa:To> <wsa:MessageID>urn:uuid:DA7CB5DE7E858547DE1220502299733</wsa:MessageID> <wsa:Action>http://docs.oasis-open.org/ws-rx/wsmc/200702/MakeConnection< /wsa:Action> </soapenv:Header> <soapenv:Body> <wsmc:MakeConnection xmlns:wsmc="http://docs.oasis-open.org/ws-rx/wsmc/200702"> <wsmc:Address>http://docs.oasis-open.org/ws-rx/wsmc/200702/anonymous?id= urn:uuid:DA7CB5DE7E858547DE1220502299582</wsmc:Address> </wsmc:MakeConnection> </soapenv:Body> </soapenv:Envelope> Then: <?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:To>http://127.0.0.1:9763/axis2/services/RMSampleService</wsa:To> <wsa:ReplyTo> <wsa:Address>http://docs.oasis-open.org/ws-rx/wsmc/200702/anonymous?id=u rn:uuid:DA7CB5DE7E858547DE1220502299582</wsa:Address> </wsa:ReplyTo> <wsa:MessageID>urn:uuid:DA7CB5DE7E858547DE1220502299599</wsa:MessageID> <wsa:Action>http://docs.oasis-open.org/ws-rx/wsrm/200702/CreateSequence< /wsa:Action> </soapenv:Header> <soapenv:Body> <wsrm:CreateSequence xmlns:wsrm="http://docs.oasis-open.org/ws-rx/wsrm/200702"> <wsrm:AcksTo> <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://docs.oasis-open. org/ws-rx/wsmc/200702/anonymous?id=urn:uuid:DA7CB5DE7E858547DE1220502299 582</wsa:Address> </wsrm:AcksTo> <wsrm:Offer> <wsrm:Identifier>urn:uuid:DA7CB5DE7E858547DE1220502299453</wsrm:Identifi er> <wsrm:Endpoint> <wsa:Address xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/ 08/addressing/anonymous</wsa:Address> </wsrm:Endpoint> </wsrm:Offer> </wsrm:CreateSequence> </soapenv:Body> </soapenv:Envelope> Then two of these (identical): <?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"> <wsa:To>http://127.0.0.1:9763/axis2/services/RMSampleService</wsa:To> <wsa:MessageID>urn:uuid:DA7CB5DE7E858547DE1220502302756</wsa:MessageID> <wsa:Action>http://docs.oasis-open.org/ws-rx/wsmc/200702/MakeConnection< /wsa:Action> </soapenv:Header> <soapenv:Body> <wsmc:MakeConnection xmlns:wsmc="http://docs.oasis-open.org/ws-rx/wsmc/200702"> <wsmc:Address>http://docs.oasis-open.org/ws-rx/wsmc/200702/anonymous?id= urn:uuid:DA7CB5DE7E858547DE1220502299582</wsmc:Address> </wsmc:MakeConnection> </soapenv:Body> </soapenv:Envelope> Then another CreateSequence message like the one above, then four MakeConnection messages, then a CreateSequence, and so on exponentially. Each message has zero-length content in the http response. Each response message has a "202 Accepted" status in it. Any idea what might be going wrong? Thanks much for any assistance you can provide. --Scott Scott Came Director, Systems and Technology SEARCH--The National Consortium for Justice Information and Statistics (916) 212-5978 (916) 392-2550 x311 [EMAIL PROTECTED]
UserguideEchoClient.java
Description: UserguideEchoClient.java
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
