Hi Scott-

the invoke method is synchronous
the asynch analog  is handled via createAsyncResponseListener

If you display the WSDL here we will use the wsdl source to generate the 
necessary source

/axis2/jaxws/proxt/ProxyTests.java has a DocLitWrapped proxy example you can 
use 

            ProxyDocLitWrappedService service1 = new 
ProxyDocLitWrappedService();
            DocLitWrappedProxy proxy1 = service1.getProxyDocLitWrappedPort();
            BindingProvider p1 =    (BindingProvider)proxy1;
            
p1.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,axisEndpoint);
            String response1 = proxy1.invoke(request);

Thanks/
M--
  ----- Original Message ----- 
  From: Scott S. McCoy 
  To: [email protected] 
  Sent: Wednesday, November 14, 2007 7:37 PM
  Subject: Wrapped Doc/Lit services in Axis2


  So when Axis 2 first came out, I opted to not use it because if it's lack of 
support for unwrapping doc/lit services.  Now, it supports it...supposedly.  
Using the same WSDLs I use in Axis 1.4, I try to generate a wrapped doc/lit 
client.  This appears to only work for asynchronous operations.  Unwrapping 
seems to not take place when on the synchronous operations.


  Here's an example:

  ----
      /**
       * Auto generated method signature
       * @param revokeAccess59
       */
      public com.enhance.plapi.service.account.RevokeAccessResponse 
revokeAccess(
          com.enhance.plapi.service.account.RevokeAccess revokeAccess59)
          throws java.rmi.RemoteException;

      /**
       * Auto generated method signature for Asynchronous Invocations 
       * @param revokeAccess59
       */
      public void startrevokeAccess(
          com.enhance.plapi.credentials.Credentials credentials60,
          com.enhance.plapi.service.account.User user61, 
          com.enhance.plapi.service.account.Account account62,
          final 
com.enhance.plapi.service.account.AccountWebServiceCallbackHandler callback)
          throws java.rmi.RemoteException ;

  ----

  Is there any way I can get the synchronous operations to get method 
signatures similarly to the asynchronous services?  I'd like to not have to 
pack and unpack all of these myself. 

  Otherwise, has some tricky little detail changed that I need to know about 
when it comes to wrapped doc/lit services?

Reply via email to