I've generated a web service proxy using WSDL2Java. and when simply
calling one of the methods that take an int I get the following error:
the WSDL is attached to this message.

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: JAXRPCTIE01: caught exception while handling request:
deserialization error: java.lang.NumberFormatException: For input
string: ""
faultActor:
faultNode:
faultDetail:
        {http://xml.apache.org/axis/}stackTrace:JAXRPCTIE01: caught exception
while handling request: deserialization error:
java.lang.NumberFormatException: For input string: ""
        at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
        at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
        at 
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1675)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1926)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1926)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1654)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:634)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:333)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
        at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
        at 
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
        at org.apache.axis.client.Call.invoke(Call.java:2767)
        at org.apache.axis.client.Call.invoke(Call.java:2443)
        at org.apache.axis.client.Call.invoke(Call.java:2366)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at 
com.progressoft.www.BatchManagerEndPointIFBindingStub.listCurrencies(BatchManagerEndPointIFBindingStub.java:761)
        at 
com.progressoft.www.BatchManagerEndPointIFProxy.listCurrencies(BatchManagerEndPointIFProxy.java:99)
        at test.TestStartup.main(TestStartup.java:35)

        {http://xml.apache.org/axis/}hostname:toto
<?xml version = '1.0' encoding = 'UTF-8'?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:ns2="http://www.comapny.com/types"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";  name="BatchManagerWS" targetNamespace="http://www.comapny.com/";>
  <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:tns="http://www.company.com/types"; targetNamespace="http://www.company.com/types";>
      <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
      <complexType name="BatchVO">
        <sequence>
          <element name="someelement" type="int"/>
          </sequence>
      </complexType>
      <complexType name="ArrayOfLabelVO">
        <complexContent>
          <restriction base="soap11-enc:Array">
            <attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:LabelVO[]"/></restriction></complexContent></complexType>
      <complexType name="LabelVO">
        <sequence>
          <element name="captionDesc" type="string"/>
          <element name="captionValue" type="string"/>
          <element name="langCode" type="int"/></sequence></complexType>
      <complexType name="ArrayOfErrorVO">
        <complexContent>
          <restriction base="soap11-enc:Array">
            <attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:ErrorVO[]"/></restriction></complexContent></complexType>
      <complexType name="ErrorVO">
        <sequence>
          <element name="errorCode" type="string"/>
          <element name="errorDescription" type="string"/></sequence></complexType>
      <complexType name="ArrayOfStoreObject">
        <complexContent>
          <restriction base="soap11-enc:Array">
            <attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:StoreObject[]"/></restriction></complexContent></complexType>
      <complexType name="StoreObject">
        <sequence>
          <element name="elem1" type="int"/>
          </sequence></complexType>
      <complexType name="ArrayOfBranchObject">
        <complexContent>
          <restriction base="soap11-enc:Array">
            <attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:BranchObject[]"/></restriction></complexContent></complexType>
      <complexType name="BranchObject">
        <sequence>
          <element name="elem1" type="int"/>
         </sequence></complexType>
      <complexType name="ArrayOfCurrencyObject">
        <complexContent>
          <restriction base="soap11-enc:Array">
            <attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:CurrencyObject[]"/></restriction></complexContent></complexType>
      <complexType name="CurrencyObject">
        <sequence>
          <element name="currCd" type="string"/>
          <element name="currName" type="string"/>
          <element name="fractionPlacesCount" type="int"/></sequence></complexType>
      <complexType name="ArrayOfPaymentVO">
        <complexContent>
          <restriction base="soap11-enc:Array">
            <attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:PaymentVO[]"/></restriction></complexContent></complexType>
      <complexType name="PaymentVO">
        <sequence>
          <element name="payMthdCd" type="int"/>
          <element name="payMthdFlags" type="string"/>
          <element name="payMthdName" type="string"/></sequence></complexType>
      <complexType name="ArrayOfUrgencyObject">
        <complexContent>
          <restriction base="soap11-enc:Array">
            <attribute ref="soap11-enc:arrayType" wsdl:arrayType="tns:UrgencyObject[]"/></restriction></complexContent></complexType>
      <complexType name="UrgencyObject">
        <sequence>
          <element name="urgncyCd" type="int"/>
          <element name="urgncyEngName" type="string"/></sequence></complexType>
      <complexType name="ChequeVO">
        <sequence>
          <element name="otherelement" type="long"/></sequence></complexType></schema></types>
  <message name="BatchManagerEndPointIF_commitBatch">
    <part name="long_1" type="xsd:long"/>
    <part name="long_2" type="xsd:long"/>
    <part name="int_3" type="xsd:int"/></message>
  <message name="BatchManagerEndPointIF_commitBatchResponse"/>
  <message name="BatchManagerEndPointIF_createBatch">
    <part name="BatchVO_1" type="ns2:BatchVO"/></message>
  <message name="BatchManagerEndPointIF_createBatchResponse">
    <part name="result" type="xsd:long"/></message>
  <message name="BatchManagerEndPointIF_deleteBatch">
    <part name="long_1" type="xsd:long"/>
    <part name="long_2" type="xsd:long"/>
    <part name="String_3" type="xsd:string"/>
    <part name="String_4" type="xsd:string"/></message>
  <message name="BatchManagerEndPointIF_deleteBatchResponse"/>
  <message name="BatchManagerEndPointIF_getBatchImages">
    <part name="long_1" type="xsd:long"/>
    <part name="arrayOfbyte_2" type="xsd:base64Binary"/>
    <part name="arrayOfbyte_3" type="xsd:base64Binary"/></message>
  <message name="BatchManagerEndPointIF_getBatchImagesResponse">
    <part name="arrayOfbyte_2" type="xsd:base64Binary"/>
    <part name="arrayOfbyte_3" type="xsd:base64Binary"/></message>
  <message name="BatchManagerEndPointIF_getPSTime"/>
  <message name="BatchManagerEndPointIF_getPSTimeResponse">
    <part name="result" type="xsd:long"/></message>
  <message name="BatchManagerEndPointIF_listActiveXCaptions">
    <part name="int_1" type="xsd:int"/></message>
  <message name="BatchManagerEndPointIF_listActiveXCaptionsResponse">
    <part name="result" type="ns2:ArrayOfLabelVO"/></message>
  <message name="BatchManagerEndPointIF_listActiveXErrors"/>
  <message name="BatchManagerEndPointIF_listActiveXErrorsResponse">
    <part name="result" type="ns2:ArrayOfErrorVO"/></message>
  <message name="BatchManagerEndPointIF_listStores">
    <part name="int_1" type="xsd:int"/></message>
  <message name="BatchManagerEndPointIF_listStoresResponse">
    <part name="result" type="ns2:ArrayOfStoreObject"/></message>
  <message name="BatchManagerEndPointIF_listBranches">
    <part name="int_1" type="xsd:int"/>
    <part name="int_2" type="xsd:int"/></message>
  <message name="BatchManagerEndPointIF_listBranchesResponse">
    <part name="result" type="ns2:ArrayOfBranchObject"/></message>
  <message name="BatchManagerEndPointIF_listCurrencies">
    <part name="int_1" type="xsd:int"/></message>
  <message name="BatchManagerEndPointIF_listCurrenciesResponse">
    <part name="result" type="ns2:ArrayOfCurrencyObject"/></message>
  <message name="BatchManagerEndPointIF_listDefaultStores">
    <part name="int_1" type="xsd:int"/></message>
  <message name="BatchManagerEndPointIF_listDefaultStoresResponse">
    <part name="result" type="ns2:ArrayOfStoreObject"/></message>
  <message name="BatchManagerEndPointIF_listPaymentMethods">
    <part name="int_1" type="xsd:int"/></message>
  <message name="BatchManagerEndPointIF_listPaymentMethodsResponse">
    <part name="result" type="ns2:ArrayOfPaymentVO"/></message>
  <message name="BatchManagerEndPointIF_listUrgencies">
    <part name="int_1" type="xsd:int"/></message>
  <message name="BatchManagerEndPointIF_listUrgenciesResponse">
    <part name="result" type="ns2:ArrayOfUrgencyObject"/></message>
  <message name="BatchManagerEndPointIF_listUserBranches">
    <part name="int_1" type="xsd:int"/>
    <part name="int_2" type="xsd:int"/>
    <part name="int_3" type="xsd:int"/></message>
  <message name="BatchManagerEndPointIF_listUserBranchesResponse">
    <part name="result" type="ns2:ArrayOfBranchObject"/></message>
  <message name="BatchManagerEndPointIF_listUserBranches2">
    <part name="int_1" type="xsd:int"/>
    <part name="int_2" type="xsd:int"/>
    <part name="String_3" type="xsd:string"/></message>
  <message name="BatchManagerEndPointIF_listUserBranches2Response">
    <part name="result" type="ns2:ArrayOfBranchObject"/></message>
  <message name="BatchManagerEndPointIF_updateBatch">
    <part name="BatchVO_1" type="ns2:BatchVO"/></message>
  <message name="BatchManagerEndPointIF_updateBatchResponse">
    <part name="result" type="xsd:string"/></message>
  <message name="BatchManagerEndPointIF_uploadBatchImages">
    <part name="long_1" type="xsd:long"/>
    <part name="arrayOfbyte_2" type="xsd:base64Binary"/>
    <part name="arrayOfbyte_3" type="xsd:base64Binary"/></message>
  <message name="BatchManagerEndPointIF_uploadBatchImagesResponse">
    <part name="result" type="xsd:string"/></message>
  <message name="BatchManagerEndPointIF_uploadCheque">
    <part name="ChequeVO_1" type="ns2:ChequeVO"/>
    <part name="arrayOfbyte_2" type="xsd:base64Binary"/>
    <part name="arrayOfbyte_3" type="xsd:base64Binary"/></message>
  <message name="BatchManagerEndPointIF_uploadChequeResponse">
    <part name="result" type="xsd:string"/></message>
  <portType name="BatchManagerEndPointIF">
    <operation name="commitBatch" parameterOrder="long_1 long_2 int_3">
      <input message="tns:BatchManagerEndPointIF_commitBatch"/>
      <output message="tns:BatchManagerEndPointIF_commitBatchResponse"/></operation>
    <operation name="createBatch" parameterOrder="BatchVO_1">
      <input message="tns:BatchManagerEndPointIF_createBatch"/>
      <output message="tns:BatchManagerEndPointIF_createBatchResponse"/></operation>
    <operation name="deleteBatch" parameterOrder="long_1 long_2 String_3 String_4">
      <input message="tns:BatchManagerEndPointIF_deleteBatch"/>
      <output message="tns:BatchManagerEndPointIF_deleteBatchResponse"/></operation>
    <operation name="getBatchImages" parameterOrder="long_1 arrayOfbyte_2 arrayOfbyte_3">
      <input message="tns:BatchManagerEndPointIF_getBatchImages"/>
      <output message="tns:BatchManagerEndPointIF_getBatchImagesResponse"/></operation>
    <operation name="getPSTime">
      <input message="tns:BatchManagerEndPointIF_getPSTime"/>
      <output message="tns:BatchManagerEndPointIF_getPSTimeResponse"/></operation>
    <operation name="listActiveXCaptions" parameterOrder="int_1">
      <input message="tns:BatchManagerEndPointIF_listActiveXCaptions"/>
      <output message="tns:BatchManagerEndPointIF_listActiveXCaptionsResponse"/></operation>
    <operation name="listActiveXErrors">
      <input message="tns:BatchManagerEndPointIF_listActiveXErrors"/>
      <output message="tns:BatchManagerEndPointIF_listActiveXErrorsResponse"/></operation>
    <operation name="listStores" parameterOrder="int_1">
      <input message="tns:BatchManagerEndPointIF_listStores"/>
      <output message="tns:BatchManagerEndPointIF_listStoresResponse"/></operation>
    <operation name="listBranches" parameterOrder="int_1 int_2">
      <input message="tns:BatchManagerEndPointIF_listBranches"/>
      <output message="tns:BatchManagerEndPointIF_listBranchesResponse"/></operation>
    <operation name="listCurrencies" parameterOrder="int_1">
      <input message="tns:BatchManagerEndPointIF_listCurrencies"/>
      <output message="tns:BatchManagerEndPointIF_listCurrenciesResponse"/></operation>
    <operation name="listDefaultStores" parameterOrder="int_1">
      <input message="tns:BatchManagerEndPointIF_listDefaultStores"/>
      <output message="tns:BatchManagerEndPointIF_listDefaultStoresResponse"/></operation>
    <operation name="listPaymentMethods" parameterOrder="int_1">
      <input message="tns:BatchManagerEndPointIF_listPaymentMethods"/>
      <output message="tns:BatchManagerEndPointIF_listPaymentMethodsResponse"/></operation>
    <operation name="listUrgencies" parameterOrder="int_1">
      <input message="tns:BatchManagerEndPointIF_listUrgencies"/>
      <output message="tns:BatchManagerEndPointIF_listUrgenciesResponse"/></operation>
    <operation name="listUserBranches" parameterOrder="int_1 int_2 int_3">
      <input message="tns:BatchManagerEndPointIF_listUserBranches"/>
      <output message="tns:BatchManagerEndPointIF_listUserBranchesResponse"/></operation>
    <operation name="listUserBranches2" parameterOrder="int_1 int_2 String_3">
      <input message="tns:BatchManagerEndPointIF_listUserBranches2"/>
      <output message="tns:BatchManagerEndPointIF_listUserBranches2Response"/></operation>
    <operation name="updateBatch" parameterOrder="BatchVO_1">
      <input message="tns:BatchManagerEndPointIF_updateBatch"/>
      <output message="tns:BatchManagerEndPointIF_updateBatchResponse"/></operation>
    <operation name="uploadBatchImages" parameterOrder="long_1 arrayOfbyte_2 arrayOfbyte_3">
      <input message="tns:BatchManagerEndPointIF_uploadBatchImages"/>
      <output message="tns:BatchManagerEndPointIF_uploadBatchImagesResponse"/></operation>
    <operation name="uploadCheque" parameterOrder="ChequeVO_1 arrayOfbyte_2 arrayOfbyte_3">
      <input message="tns:BatchManagerEndPointIF_uploadCheque"/>
      <output message="tns:BatchManagerEndPointIF_uploadChequeResponse"/></operation></portType>
  <binding name="BatchManagerEndPointIFBinding" type="tns:BatchManagerEndPointIF">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; style="rpc"/>
    <operation name="commitBatch">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="createBatch">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="deleteBatch">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="getBatchImages">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="getPSTime">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="listActiveXCaptions">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="listActiveXErrors">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="listStores">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="listBranches">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="listCurrencies">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="listDefaultStores">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="listPaymentMethods">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="listUrgencies">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="listUserBranches">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="listUserBranches2">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="updateBatch">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="uploadBatchImages">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation>
    <operation name="uploadCheque">
      <soap:operation soapAction=""/>
      <input>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></input>
      <output>
        <soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="encoded" namespace="http://www.company.com/"/></output></operation></binding>
  <service name="BatchManagerWS">
    <port name="BatchManagerEndPointIFPort" binding="tns:BatchManagerEndPointIFBinding">
      <soap:address xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; location="http://integration-db.company.com:80/JNB/BatchManager"/></port></service></definitions>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to