[jboss-user] [JBossWS] - Re: Are Axis client calls to JBossWS @WebService services su

c_eric_ray do-not-reply at jboss.com
Wed Sep 20 11:25:58 EDT 2006


I have the same problem. Any resolution? I've googled the heck out of this and no luck finding a resolution. I'm stumped.

WebService...

  | @WebService(targetNamespace="http://distributedcapture.vicor.com/ws/rids")
  | @SOAPBinding(style=SOAPBinding.Style.RPC)
  | public class ListDates {
  | 
  |   @WebMethod
  |   public String[] listDates(String env, String account) {
  |     ListPackageInfo info = null;
  |     try {
  |       InitialContext ctx = new InitialContext();
  |       info = (ListPackageInfo) ctx.lookup("DistributedCapture/ListPackageInfoBean/local");
  |     } 
  |     catch (Exception e) {
  |       e.printStackTrace(System.err);
  |     }
  |     return info.listDates(env, account);
  |   }
  |  
  | }
  | 

Incoming soap taken from server.log

  | <soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' 
  | xmlns:xsd='http://www.w3.org/2001/XMLSchema' 
  | xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
  | 
  | <soap:Header/>
  | <soap:Body>
  | <listDates xmlns='http://distributedcapture.vicor.com/ws/rids'>
  | <String_1 xmlns='http://distributedcapture.vicor.com/ws/rids' xsi:type='xsd:string'>env1</String_1>
  | <String_2 xmlns='http://distributedcapture.vicor.com/ws/rids' xsi:type='xsd:string'>1</String_2>
  | </listDates></soap:Body></soap:Envelope>
  | 

wsdl

  | - <definitions name="ListDatesService" 
  | targetNamespace="http://distributedcapture.vicor.com/ws/rids" 
  | xmlns="http://schemas.xmlsoap.org/wsdl/"
  | xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
  | xmlns:tns="http://distributedcapture.vicor.com/ws/rids" 
  | xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  |   <types /> 
  | - <message name="ListDates_listDatesResponse">
  |   <part name="result" type="xsd:NMTOKENS" /> 
  |   </message>
  | - <message name="ListDates_listDates">
  |   <part name="String_1" type="xsd:string" /> 
  |   <part name="String_2" type="xsd:string" /> 
  |   </message>
  | - <portType name="ListDates">
  | - <operation name="listDates" parameterOrder="String_1 String_2">
  |   <input message="tns:ListDates_listDates" /> 
  |   <output message="tns:ListDates_listDatesResponse" /> 
  |   </operation>
  |   </portType>
  | - <binding name="ListDatesBinding" type="tns:ListDates">
  |   <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" /> 
  | - <operation name="listDates">
  |   <soap:operation soapAction="" /> 
  | - <input>
  |   <soap:body namespace="http://distributedcapture.vicor.com/ws/rids" use="literal" /> 
  |   </input>
  | - <output>
  |   <soap:body namespace="http://distributedcapture.vicor.com/ws/rids" use="literal" /> 
  |   </output>
  |   </operation>
  |   </binding>
  | - <service name="ListDatesService">
  | - <port binding="tns:ListDatesBinding" name="ListDatesPort">
  |   <soap:address location="http://redbull:8080/dcap/ListDates" /> 
  |   </port>
  |   </service>
  |   </definitions>
  | 

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

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



More information about the jboss-user mailing list