Re: Exposed methods with a number of input parameters

Deepal jayasinghe <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
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
>
> ********************************************************************************************************************
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.