axis 1.4 IllegalArgumentException got in response
Hi all, i`m using oracle oc4j 10.1.3 with axis 1.4 bundled in my application. I have problem with running web service. Axis is not recognizing correctly arguments passed in soap request message. SoapUi generated this soap request, which is not working: xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ops="http://ishop.orange.iway.sk/OPSTypes/";> 1 1 and i`ve got this response from axis: xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> soapenv:Server.generalException Tried to invoke method public sk.iway.orange.ishop.catalog.ProductRecordType sk.iway.orange.ishop.ProductSynchroServiceImpl.getProductNextRecord(long,long) throws java.rmi.RemoteException,sk.iway.orange.ishop.exceptions.TimeoutException,sk.iway.orange.ishop.exceptions.ServiceException,sk.iway.orange.ishop.exceptions.DatabaseException with arguments java.lang.Long,null. The arguments do not match the signature.; nested exception is: java.lang.IllegalArgumentException xmlns:ns1="http://xml.apache.org/axis/";>AMD64x5 It seems, that axis is not recognising ops:CId2 argument. My wsdl for service: - <#> http://ishop.orange.iway.sk*"; xmlns:tns3="*http://ishop.orange.iway.sk/catalog/*"; xmlns:impl="*http://ishop.orange.iway.sk*"; xmlns:intf="*http://ishop.orange.iway.sk*"; xmlns:apachesoap="*http://xml.apache.org/xml-soap*"; xmlns:wsdlsoap="*http://schemas.xmlsoap.org/wsdl/soap/*"; xmlns:xsd="*http://www.w3.org/2001/XMLSchema*"; xmlns:tns2="*http://ishop.orange.iway.sk/exceptions*"; xmlns:tns1="*http://ishop.orange.iway.sk/OPSTypes/*"; xmlns:wsdl="*http://schemas.xmlsoap.org/wsdl/*";> - <#> - <#> - <#> http://www.w3.org/2001/XMLSchema*"; targetNamespace="*http://ishop.orange.iway.sk/OPSTypes/*";> http://ishop.orange.iway.sk/catalog/*"; /> http://ishop.orange.iway.sk/exceptions*"; /> - <#> http://www.w3.org/2001/XMLSchema*"; targetNamespace="*http://ishop.orange.iway.sk/exceptions*";> http://ishop.orange.iway.sk/catalog/*"; /> - <#> - <#> type="*xsd:string*" /> - <#> - <#> type="*xsd:string*" /> type="*xsd:string*" /> - <#> - <#> type="*xsd:string*" /> - <#> - <#> type="*xsd:string*" /> type="*tns2:implementedException*" /> - <#> http://www.w3.org/2001/XMLSchema*"; targetNamespace="*http://ishop.orange.iway.sk/catalog/*"; elementFormDefault="*qualified*"> http://ishop.orange.iway.sk/exceptions*"; /> - <#> - <#> type="*xsd:string*" /> type="*xsd:string*" /> type="*xsd:string*" /> - <#> - <#> type="*xsd:string*" /> type="*xsd:string*" /> - <#> - <#> - <#> - <#> type="*xsd:long*" /> type="*xsd:date*" /> type="*xsd:string*" /> - <#> - <#> - <#> - <#> type="*xsd:string*" /> type="*xsd:string*" /> type="*xsd:boolean*" /> - <#> - <#> - <#> - <#> - <#> - <#> - <#> - <#> - <#> - <#> type="*xsd:date*" /> type="*xsd:string*" /> maxOccurs="*unbounded*" type="*tns3:productAttachmentType*" /> maxOccurs="*unbounded*" /> type="*tns3:productCustomType*" /> type="*tns3:productStateType*" /> type="*tns3:productRCategoryNodeType*" /> maxOccurs="*unbounded*" /> maxOccurs="*unbounded*" type="*tns3:productParametersType*" /> - <#> element="*tns2:implementedException*" /> - <#> - <#> element="*tns1:OutProductRecord3*" /> - <#> - <#> - <#> - <#> element="*tns1:OutProductRecord2*" /> - <#> - <#> - <#> element="*tns2:databaseException*" /> - <#> - <#> - <#> element="*tns1:OutProductRecord1*" /> - <#> - <#> - <#> - <#> - <#> parameterOrder="*Endpoint1*"> message="*impl:startProductConversationRequest*" /> message="*impl:startProductConversationResponse*" /> message="*impl:DatabaseException*" /> message="*impl:TimeoutException*" /> message="*impl:ServiceException*" /> - <#> parameterOrder="*Endpoint2 CId2*"> message="*impl:getProductNextRecordRequest*" /> message="*impl:getProductNextRecordResponse*" /> message="*impl:DatabaseException*" /> message="*impl:TimeoutException*" /> message="*impl:ServiceException*" /> - <#> parameterOrder="*Endpoint3 ProductRecord1*"> message="*impl:getProductRecordRequest*" /> message="*impl:getProductRecordResponse*" /> message="*impl:DatabaseException*" /> message="*impl:TimeoutException*" /> message="*impl:ServiceException*" /> - <#> parameterOrder="*Endpoint4 CId3 ProductRecord2*"> message="*impl:setProductRecordRequest*" /> message="*impl:setProductRecordResponse*" /> message="*impl:DatabaseException*" /> message="*impl:TimeoutException*" /> message="*impl:ImplementedEx
Re: axis 1.4 IllegalArgumentException got in response
> > > > >type="*xsd:string*" /> >type="*xsd:string*" /> >type="*xsd:boolean*" /> > > > > > > > - <#> > - <#> > > > > > > - <#> > - <#> > > > > > > - <#> > - <#> > > > > > > > > > > > > > - <#> > - <#> > > > > > > > - <#> > - <#> > > > > > > > > > > >type="*xsd:date*" /> >type="*xsd:string*" /> > > > >maxOccurs="*unbounded*" type="*tns3:productAttachmentType*" /> >maxOccurs="*unbounded*" /> >type="*tns3:productCustomType*" /> >type="*tns3:productStateType*" /> >type="*tns3:productRCategoryNodeType*" /> >maxOccurs="*unbounded*" /> >maxOccurs="*unbounded*" type="*tns3:productParametersType*" /> > > > > > - <#> >element="*tns2:implementedException*" /> > > - <#> > > > > > - <#> >element="*tns1:OutProductRecord3*" /> > > - <#> > > > > - <#> > > > > > - <#> > > > - <#> >element="*tns1:OutProductRecord2*" /> > > - <#> > > > - <#> > > > > > - <#> >element="*tns2:databaseException*" /> > > - <#> > > > - <#> > > > - <#> >element="*tns1:OutProductRecord1*" /> > > - <#> > > > > - <#> >/> > > - <#> >/> > > - <#> > - <#> parameterOrder="*Endpoint1*"> >message="*impl:startProductConversationRequest*" /> >message="*impl:startProductConversationResponse*" /> >message="*impl:DatabaseException*" /> >message="*impl:TimeoutException*" /> >message="*impl:ServiceException*" /> > > - <#> parameterOrder="*Endpoint2 CId2*"> >message="*impl:getProductNextRecordRequest*" /> >message="*impl:getProductNextRecordResponse*" /> >message="*impl:DatabaseException*" /> >message="*impl:TimeoutException*" /> >message="*impl:ServiceException*" /> > > - <#> parameterOrder="*Endpoint3 ProductRecord1*"> >message="*impl:getProductRecordRequest*" /> >message="*impl:getProductRecordResponse*" /> >message="*impl:DatabaseException*" /> >message="*impl:TimeoutException*" /> >message="*impl:ServiceException*" /> > > - <#> parameterOrder="*Endpoint4 CId3 ProductRecord2*"> >message="*impl:setProductRecordRequest*" /> >message="*impl:setProductRecordResponse*" /> >message="*impl:DatabaseException*" /> >message="*impl:TimeoutException*" /> >message="*impl:ImplementedException*" /> >message="*impl:ServiceException*" /> > > - <#> parameterOrder="*Endpoint5 CId5 ProductRecord3*"> >message="*impl:getProductUnprocessedRecordRequest*" /> >message="*impl:getProductUnprocessedRecordResponse*" /> >message="*impl:DatabaseException*" /> >message="*impl:TimeoutException*" /> >message="*impl:ImplementedException*" /> >message="*impl:ServiceException*" /> > > - <#> parameterOrder="*ProductRecord4*"> >message="*impl:removeProductRecordRequest*" /> >message="*impl:removeProductRecordResponse*" /> >message="*impl:DatabaseException*" /> >message="*impl:TimeoutException*" /> >message="*impl:ImplementedException*" /> >message="*impl:ServiceException*" /> > > - <#> parameterOrder="*Endpoint6*"> >message="*impl:endProductConversationRequest*" /> >message="*impl:endProductConversationResponse*" /> >message="*impl:DatabaseException*" /> >message="*impl:TimeoutException*" /> >message="*impl:ServiceException*" /> > > > - <#> type="*impl:ProductSynchro*"> >transport="*http://schemas.xmlsoap.org/soap/http*"; /> > - <#> >soapAction="*http://ishop.orange.iway.sk/startProductConversation*"; /> > - <#> > > > - <#> > > > - <#> > > > - <#> > > > - <#> > > > > - <#> >soapAction="*http://ishop.orange.iway.sk/getProductNextRecord*"; /> > - <#> > > > - <#> > > > - <#> > > > - <#> > > > - <#> > > > > - <#> >soapAction="*http://ishop.orange.iway.sk/getProductRecord*"; /> > - <#> > > > - <#> > > > - <#> > > > - <#> > > > - <#> > > > > - <#> >soapAction="*http://ishop.orange.iway.sk/setProductRecord*"; /> > - <#> > > > - <#> > > > - <#> > > > - <#> > > > - <#> > > > - <#> > > > > - <#> >soapAction="*http://ishop.orange.iway.sk/getProductUnprocessedRecord*"; /> > - <#> > > > - <#> > > > - <#> > > > - <#> > > > - <#> > > > - <#> > > > > - <#> >soapAction="*http://ishop.orange.iway.sk/removeProductRecord*"; /> > - <#> > > > - <#> > > > - <#> > > > - <#> > > > - <#> > > > - <#> > > > > - <#> >soapAction="*http://ishop.orange.iway.sk/endProductConversation*"; /> > - <#> > > > - <#> > > > - <#> > > > - <#> > > > - <#> > > > > > - <#> > - <#> binding="*impl:ProductSynchroServiceSoapBinding*"> >location="*http://localhost:/OPS/services/ProductSynchroService*"; /> > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/axis-1.4-IllegalArgumentException-got-in-response-tf3956903.html#a11228890 Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: axis 1.4 IllegalArgumentException got in response
Hi Ole, that means, if i want to use document/literal, then i should change for instance this message: to one element, which will be defined as one parameter, which will hold Endpoint2 and CId2 in itself ? That means, for document/literal, every function can have only one input message ? Regards, Roman. omatzura wrote: Hi Roman, thanks.. this is a bit strange, your operations input message has defined several parts but it is not used with a RPC soap-binding, you will probably either need to change the style for the binding from document to rpc (probably just a setting somewhere), or refactor the input message to contain one root element/argument which holds the other two elements/arguments.. hope this makes sense :-) regards! /Ole eviware.com Roman Heinrich-2 wrote: Hi all, i`m using oracle oc4j 10.1.3 with axis 1.4 bundled in my application. I have problem with running web service. Axis is not recognizing correctly arguments passed in soap request message. SoapUi generated this soap request, which is not working: xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ops="http://ishop.orange.iway.sk/OPSTypes/";> 1 1 and i`ve got this response from axis: xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> soapenv:Server.generalException Tried to invoke method public sk.iway.orange.ishop.catalog.ProductRecordType sk.iway.orange.ishop.ProductSynchroServiceImpl.getProductNextRecord(long,long) throws java.rmi.RemoteException,sk.iway.orange.ishop.exceptions.TimeoutException,sk.iway.orange.ishop.exceptions.ServiceException,sk.iway.orange.ishop.exceptions.DatabaseException with arguments java.lang.Long,null. The arguments do not match the signature.; nested exception is: java.lang.IllegalArgumentException xmlns:ns1="http://xml.apache.org/axis/";>AMD64x5 It seems, that axis is not recognising ops:CId2 argument. My wsdl for service: - <#> http://ishop.orange.iway.sk*"; xmlns:tns3="*http://ishop.orange.iway.sk/catalog/*"; xmlns:impl="*http://ishop.orange.iway.sk*"; xmlns:intf="*http://ishop.orange.iway.sk*"; xmlns:apachesoap="*http://xml.apache.org/xml-soap*"; xmlns:wsdlsoap="*http://schemas.xmlsoap.org/wsdl/soap/*"; xmlns:xsd="*http://www.w3.org/2001/XMLSchema*"; xmlns:tns2="*http://ishop.orange.iway.sk/exceptions*"; xmlns:tns1="*http://ishop.orange.iway.sk/OPSTypes/*"; xmlns:wsdl="*http://schemas.xmlsoap.org/wsdl/*";> - <#> - <#> - <#> http://www.w3.org/2001/XMLSchema*"; targetNamespace="*http://ishop.orange.iway.sk/OPSTypes/*";> http://ishop.orange.iway.sk/catalog/*"; /> http://ishop.orange.iway.sk/exceptions*"; /> - <#> http://www.w3.org/2001/XMLSchema*"; targetNamespace="*http://ishop.orange.iway.sk/exceptions*";> http://ishop.orange.iway.sk/catalog/*"; /> - <#> - <#> type="*xsd:string*" /> - <#> - <#> type="*xsd:string*" /> type="*xsd:string*" /> - <#> - <#> type="*xsd:string*" /> - <#> - <#> type="*xsd:string*" /> type="*tns2:implementedException*" /> - <#> http://www.w3.org/2001/XMLSchema*"; targetNamespace="*http://ishop.orange.iway.sk/catalog/*"; elementFormDefault="*qualified*"> http://ishop.orange.iway.sk/exceptions*"; /> - <#> - <#> type="*xsd:string*" /> type="*xsd:string*" /> type="*xsd:string*" /> - <#> - <#> type="*xsd:string*" /> type="*xsd:string*" /> - <#> - <#> - <#> - <#> type="*xsd:long*" /> type="*xsd:date*" /> type="*xsd:string*" /> - <#> - <#> - <#> - <#> type="*xsd:string*" /> type="*xsd:string*" /> type="*xsd:boolean*" /> - <#> - <#> - <#> - <#> - <#> - <#> - <#> - <#> - <#> - <#> type="*xsd:date*" /> type="*xsd:string*" /> maxOccurs="*unbounded*" type="*tns3:productAttachmentType*" /> maxOccurs="*unbounded*" /> type="*tns3:productCustomType*" /> type="*tns3:productStateType*" /> type="*tns3:productRCategoryNodeType*" /> maxOccurs="*unbounded*" /> maxOccurs="*unbounded*" type="*tns3:productParametersType*" /> - <#> element="*tns2:implementedException*" /> - <#> - <#> element="*tns1:OutProductRecord3*" /> - <#> - <#> - <#> - <#> element="*tns1:OutProductRecord2*" /> - <#> - <#> - <#> element="*tns2:databaseException*" /> - <#> - <#> - <#> element="*tns1:OutProductRecord1*" /> - <#> - <#> - <#> - <#> - <#> parameterOrder="*
Re: axis 1.4 IllegalArgumentException got in response
Good Morning Roman -- I ran a few quick tests and found http://ishop.orange.iway.sk*"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:apachesoap="*http://xml.apache.org/xml-soap*"; xmlns:tns="http://example"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";> HTH Martin-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. - Original Message - From: "Roman Heinrich" <[EMAIL PROTECTED]> To: Sent: Thursday, June 21, 2007 4:59 AM Subject: Re: axis 1.4 IllegalArgumentException got in response Hi Ole, that means, if i want to use document/literal, then i should change for instance this message: to one element, which will be defined as one parameter, which will hold Endpoint2 and CId2 in itself ? That means, for document/literal, every function can have only one input message ? Regards, Roman. omatzura wrote: Hi Roman, thanks.. this is a bit strange, your operations input message has defined several parts but it is not used with a RPC soap-binding, you will probably either need to change the style for the binding from document to rpc (probably just a setting somewhere), or refactor the input message to contain one root element/argument which holds the other two elements/arguments.. hope this makes sense :-) regards! /Ole eviware.com Roman Heinrich-2 wrote: Hi all, i`m using oracle oc4j 10.1.3 with axis 1.4 bundled in my application. I have problem with running web service. Axis is not recognizing correctly arguments passed in soap request message. SoapUi generated this soap request, which is not working: xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ops="http://ishop.orange.iway.sk/OPSTypes/";> 1 1 and i`ve got this response from axis: xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";> soapenv:Server.generalException Tried to invoke method public sk.iway.orange.ishop.catalog.ProductRecordType sk.iway.orange.ishop.ProductSynchroServiceImpl.getProductNextRecord(long,long) throws java.rmi.RemoteException,sk.iway.orange.ishop.exceptions.TimeoutException,sk.iway.orange.ishop.exceptions.ServiceException,sk.iway.orange.ishop.exceptions.DatabaseException with arguments java.lang.Long,null. The arguments do not match the signature.; nested exception is: java.lang.IllegalArgumentException xmlns:ns1="http://xml.apache.org/axis/";>AMD64x5 It seems, that axis is not recognising ops:CId2 argument. My wsdl for service: - <#> http://ishop.orange.iway.sk*"; xmlns:tns3="*http://ishop.orange.iway.sk/catalog/*"; xmlns:impl="*http://ishop.orange.iway.sk*"; xmlns:intf="*http://ishop.orange.iway.sk*"; xmlns:apachesoap="*http://xml.apache.org/xml-soap*"; xmlns:wsdlsoap="*http://schemas.xmlsoap.org/wsdl/soap/*"; xmlns:xsd="*http://www.w3.org/2001/XMLSchema*"; xmlns:tns2="*http://ishop.orange.iway.sk/exceptions*"; xmlns:tns1="*http://ishop.orange.iway.sk/OPSTypes/*"; xmlns:wsdl="*http://schemas.xmlsoap.org/wsdl/*";> - <#> - <#> - <#> http://www.w3.org/2001/XMLSchema*"; targetNamespace="*http://ishop.orange.iway.sk/OPSTypes/*";> http://ishop.orange.iway.sk/catalog/*"; /> http://ishop.orange.iway.sk/exceptions*"; /> - <#> http://www.w3.org/2001/XMLSchema*"; targetNamespace="*http://ishop.orange.iway.sk/exceptions*";> http://ishop.orange.iway.sk/catalog/*"; /> - <#> - <#> type="*xsd:string*" /> - <#> - <#> type="*xsd:string*" /> type="*xsd:string*" /> - <#> - <#> type="*xsd:string*" /> - <#> - <#> type="*xsd:string*" /> type="*tns2:implementedException*" /> - <#> http://www.w3.org/2001/XMLSchema*"; targetNamespace="*http://ishop.orange.iway.sk/catalog/*"; elementFormDefault="*qualified*"> http