Ah ok thanks! From: Deepal jayasinghe [mailto:deep...@gmail.com] Sent: 27 December 2012 16:45 To: java-user@axis.apache.org Subject: Re: Exposed methods with a number of input parameters
I know, I was talking about your service. When you compile your java class you need to turn on the debug info. I should have said this is for an auto generated wsdl and not one I generated with java2wsdl. From: Deepal jayasinghe [mailto:deep...@gmail.com] Sent: 27 December 2012 16:41 To: java-user@axis.apache.org<mailto:java-user@axis.apache.org> Subject: Re: Exposed methods with a number of input parameters To fix this problem you need to use '-g' option when you compile, in other words you need to compile with debug on. Deepal Hi, A couple of the legacy methods I have ported to Axis 2 take individual input parameters instead of an object and when I look at the wsdl none of the parameter names are defined there, is there a reason for this? For example: <xs:sequence> <xs:element minOccurs="0" name="args0" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="args1" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="args2" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="args3" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="args4" nillable="true" type="xs:string"/> <xs:element minOccurs="0" name="args5" nillable="true" type="xs:string"/> </xs:sequence> If I look at the newer methods which are defined as taking an object as their single input parameter all the parameter names from the object are actually defined in the wsdl. I was just wondering if someone could help me to understand this and if I should look to 'wrap' all those parameters in an input object for the web service call. Thanks, Paul ******************************************************************************************************************** This message may contain confidential information. If you are not the intended recipient please inform the sender that you have received the message in error before deleting it. Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Thank you for your co-operation. NHSmail is the secure email and directory service available for all NHS staff in England and Scotland NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients NHSmail provides an email address for your career in the NHS and can be accessed anywhere ******************************************************************************************************************** ******************************************************************************************************************** This message may contain confidential information. If you are not the intended recipient please inform the sender that you have received the message in error before deleting it. Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Thank you for your co-operation. NHSmail is the secure email and directory service available for all NHS staff in England and Scotland NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients NHSmail provides an email address for your career in the NHS and can be accessed anywhere ******************************************************************************************************************** ******************************************************************************************************************** This message may contain confidential information. If you are not the intended recipient please inform the sender that you have received the message in error before deleting it. Please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Thank you for your co-operation. NHSmail is the secure email and directory service available for all NHS staff in England and Scotland NHSmail is approved for exchanging patient data and other sensitive information with NHSmail and GSi recipients NHSmail provides an email address for your career in the NHS and can be accessed anywhere ********************************************************************************************************************