I'm not sure why. The request is received on the server succesfully. I just
can't unwrap it on the client side. My client looks like this:
URL url = new
URL("http://localhost:8080/fifalmonk/fifalmonk/WebServiceSession?wsdl");
QName qname = new
QName("http://com/fifalmonk/webservice/WebServiceSession.wsdl",
"WebServiceSession");
ServiceFactory factory = ServiceFactory.newInstance();
Service service = factory.createService( url, qname );
WebServiceSessionEndpoint endpoint= (WebServiceSessionEndpoint)
service.getPort(WebServiceSessionEndpoint.class);
... build Transaction bean here....
WebServiceSessionEndpoint_process_RequestStruct request = new
WebServiceSessionEndpoint_process_RequestStruct(transactionDocument);
WebServiceSessionEndpoint_process_RequestStruct request = new
WebServiceSessionEndpoint_process_RequestStruct(transactionDocument);
WebServiceSessionEndpoint_process_ResponseStruct response =
(WebServiceSessionEndpoint_process_ResponseStruct)endpoint.process(request);
I also tried this and got the same result.
Object o = endpoint.process(request);
Something in here is causing the problem:
at
com.sun.xml.rpc.client.dii.CallInvokerImpl._postSendingHook(CallInvokerImpl.java:305)
I'm using the -gen:server artifacts to wrap and unwrap the request and response
because when I tried to regenerate the client classes with wscompile based on
the server's wsdl, it tried to create a constructor with too many parameters.
My original beans have a lot of fields. The classes it created would not
compile. I shouldn't need to recreate the classes anyways since they were used
to build the wsdl in the first place and I have them already.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887322#3887322
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887322
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user