Hum, maybe it was not clear but with the good features, wscompile generates 
this proper interface (which takes into account soap headers) :


  | public interface SMSTextMessagingSoap extends java.rmi.Remote {
  |     
  | public com.strikeiron.ws.SendMessageResponse endMessage(
  | com.strikeiron.ws.SendMessage parameters, 
  | com.strikeiron.ws.LicenseInfo licenseInfo,
  | com.strikeiron.ws.holders.ResponseInfoHolder responseInfo,
  | com.strikeiron.ws.holders.SubscriptionInfoHolder subscriptionInfo) 
  | throws java.rmi.RemoteException;
  | 

But that's not the case of the JBOSS WSDL parser which only waits for 1 input 
parameter SendMessage parameters.

AxisClientProxy.proxyParams2CallParams(Object[] proxyParams)

  | 
  |      for (int i = 0; proxyParams != null && i < proxyParams.length; i++)
  |      {
  |          Object param = proxyParams;
  |          ParameterDesc paramDesc = opDesc.getParameter(i);
  |          if (paramDesc == null)
  |             throw new ServiceException("Cannot obtain parameter " + i + " 
for: " + opDesc);
  |         
  |      Caused by: javax.xml.rpc.ServiceException: Cannot obtain parameter 1 
for:
  |      OperationDesc
  |        name:        null
  |        returnQName: {http://www.strikeiron.com}SendMessageResponse
  |        returnType:  {http://www.strikeiron.com}SendMessageResponse
  |        returnClass: class com.strikeiron.ws.SendMessageResponse
  |        elementQName:null
  |        soapAction:  null
  |        style:       document
  |        use:         literal
  |        numInParams: 1
  |        method:null
  |      
  |      ParameterDesc
  |        name:       {http://www.strikeiron.com}SendMessage
  |        typeEntry:  null
  |        mode:       IN
  |        isReturn:   false
  |        typeQName:  {http://www.strikeiron.com}SendMessage
  |        javaType:   class com.strikeiron.ws.SendMessage
  |        inHeader:   false
  |        outHeader:  false
  | 
  | 

Hope that helps.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919060#3919060

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3919060


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to