Oh, right. No worries....you've saved me alot of work! If its not possible.....i dont have to bother!!
 
Re the destroy message,
 
I'm lost. I've checked my wsdl and Ive got:

xmlns:wsrf-rlw=http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceLifetime-1.2-draft-04.wsdl 

defined.

and the message and error I get (below).

I've made sure the name spaces match up, but its still not working... :(

 

SENT MESSAGE
====================
<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">
<soapenv:Header>
  <wsa:To soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="1" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">http://localhost:8080/wsrf/services/ShibbolethBrowserSession</wsa:To>
  <wsa:Action soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="1" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">http://localhost:8080/wsrf/services/ShibbolethBrowserSessionDestroy/Destroy</wsa:Action>
  <shibbw:ResourceID soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="1" xmlns:shibbw="http://ShibbolethBrowserSession/ShibbolethBrowserSession.wsdl">ShibbolethBrowserSessionResource11</shibbw:ResourceID>
</soapenv:Header>
<soapenv:Body>
  <wsrf-rlw:Destroy xmlns:wsrf-rlw="http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceLifetime-1.2-draft-04.wsdl"/>
</soapenv:Body>
</soapenv:Envelope>
====================


DEBUG   2005-03-23 20:49:02,640 (org.apache.ws.resource.handler.ResourceHandler:123) - Recieved Request
DEBUG   2005-03-23 20:49:02,640 (org.apache.ws.resource.handler.ResourceHandler:130) - The request envelope:
<?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"><soapenv:Header><wsa:To soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="1" xmlns:wsa="http
://schemas.xmlsoap.org/ws/2004/03/addressing">http://localhost:8080/wsrf/services/ShibbolethBrowserSession</wsa:To><wsa:Action soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="1" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">http://localhost:8080/wsrf
/services/ShibbolethBrowserSessionDestroy/Destroy</wsa:Action><shibbw:ResourceID soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="1" xmlns:shibbw="http://ShibbolethBrowserSession/ShibbolethBrowserSession.wsdl">ShibbolethBrowserSessionResource11</shibbw:ResourceID></
soapenv:Header><soapenv:Body><wsrf-rlw:Destroy xmlns:wsrf-rlw="http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceLifetime-1.2-draft-04.wsdl"/></soapenv:Body></soapenv:Envelope>
DEBUG   2005-03-23 20:49:02,640 (org.apache.ws.resource.handler.ResourceHandler:272) - Retrieved Service Class name: shibbolethBrowserSession.shibbolethBrowserSessionWsdl.ShibbolethBrowserSessionService from ResourceHome.
DEBUG   2005-03-23 20:49:02,640 (org.apache.ws.resource.handler.ResourceHandler:403) - Creating an instance of service class: class shibbolethBrowserSession.shibbolethBrowserSessionWsdl.ShibbolethBrowserSessionService
DEBUG   2005-03-23 20:49:02,640 (org.apache.ws.resource.handler.ResourceHandler:351) - Deriving the service method name from the request: <wsrf-rlw:Destroy xmlns:wsrf-rlw="http://docs.oasis-open.org/wsrf/2004/11/wsrf-WS-ResourceLifetime-1.2-draft-04.wsdl" xmlns:soapenv="http://schemas.xmlsoap.org/so
ap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>

javax.xml.rpc.JAXRPCException: Unable to find method destroy with valid signature in service class shibbolethBrowserSession.shibbolethBrowserSessionWsdl.ShibbolethBrowserSessionService.
        at org.apache.ws.resource.handler.ResourceHandler.getServiceMethod(ResourceHandler.java:374)
        at org.apache.ws.resource.handler.ResourceHandler.handleRequest(ResourceHandler.java:151)
        at org.apache.ws.resource.handler.axis.ResourceProvider.invoke(ResourceProvider.java:203)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)

 



From: Campana Jr., Salvatore J [mailto:[EMAIL PROTECTED]
Sent: 23 March 2005 20:29
To: [email protected]
Subject: RE: Apollo and ws-security

We have not worked on interfacing with WS-Security as of yet...We've been just trying to get the main functionality in place...
 


From: Shahzad Younas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 23, 2005 3:20 PM
To: [email protected]
Subject: Apollo and ws-security

Hi again,
 
I cant remember if i already asked this, but how can I use WS-Security with apollo? IE, how to i add ws-sec or encrypt the incoming messages to the service and how to encrypt the response?
 
If i do encrypt the soap body, how does apollo match the message to the implemented method?
 
Thanks
Shahzad

Reply via email to