Loading ...
Sorry, an error occurred while loading the content.

Re: [soapbuilders] Axis and attribute access

Expand Messages
  • Anne Thomas Manes
    Please send Axis questions to the axis-user list. See http://ws.apache.org/axis/mail.html
    Message 1 of 2 , Apr 28 5:13 AM
    • 0 Attachment
      Please send Axis questions to the axis-user list.
      See http://ws.apache.org/axis/mail.html

      On 4/27/05, stefano_nichele <s.nichele@...> wrote:
      >
      >
      > Hi all,
      > i'm newly to Webservice.
      >
      > I'm trying to access to a webservice using Axis but i'm unable to
      > use (i think ) the generated class by WSDL2Java.
      >
      > My wsdl is:
      >
      > <?xml version="1.0" encoding="ISO-8859-1" ?>
      >
      > <definitions xmlns:SOAP-
      > ENV="http://schemas.xmlsoap.org/soap/envelope/"
      > xmlns:xsd="http://www.w3.org/2001/XMLSchema"
      > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      > xmlns:SOAP-
      > ENC="http://schemas.xmlsoap.org/soap/encoding/"
      > xmlns:si="http://soapinterop.org/xsd"
      > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
      > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
      > xmlns="http://schemas.xmlsoap.org/wsdl/">
      >
      > <types>
      > <xsd:schema>
      >
      > <xsd:import
      > namespace="http://schemas.xmlsoap.org/soap/encoding/" />
      > <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
      >
      > <xsd:complexType name="Fields">
      > <xsd:all>
      > <xsd:sequence>
      > <xsd:attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="xsd:string
      > []" />
      > </xsd:sequence>
      > </xsd:all>
      > </xsd:complexType>
      > </xsd:schema>
      > </types>
      >
      > </definitions>
      >
      > I have removed the useless xml....so, when i run WSDL2Java I obtain
      > a class but...how can i access (and set) the string[] defined in the
      > wsdl ? There aren't any set/get methods...but there are only these
      > methods:
      >
      > public synchronized boolean equals(java.lang.Object obj)
      > public synchronized int hashCode()
      > public static org.apache.axis.description.TypeDesc getTypeDesc()
      > public static org.apache.axis.encoding.Serializer getSerializer
      > public static org.apache.axis.encoding.Deserializer
      > getDeserializer
      >
      > I think this is a stupid question...but someone can help me ?
      >
      > Thanks in advance
      >
      > Ste
      >
      > -----------------------------------------------------------------
      > This group is a forum for builders of SOAP implementations to discuss implementation and interoperability issues. Please stay on-topic.
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.