axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ash Grove <ash_g...@yahoo.com>
Subject beginner: consuming a .NET service
Date Mon, 26 Jun 2006 21:18:31 GMT
Hi!

I'm new to web services. I'm trying to fetch data from
an established service (that I did not create).

I installed axis, ran WSDL2Java, and created a
simple client.

When I execute my client against the service, returned
is something like: @f840b6

I just don't know what to do from here to get real
data instead of this object id or whatever it is that
the client returns! Wow, web services are far more
complex than I imagined! :)

Following is most of the WSDL -- I had to remove
certain parts as this is an internal,
under-development service. I apologize if it isn't
kosher to sanitize in such a way.

Thanks!!
Ash

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions 
	xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" 
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
	xmlns:s="http://www.w3.org/2001/XMLSchema" 

xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"

	xmlns:tns="..." 

xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"

	xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" 
	targetNamespace="..." 
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
	
  <wsdl:types>
    <s:schema elementFormDefault="qualified"
targetNamespace="...">
      <s:element name="getMyData">
        <s:complexType />
      </s:element>
      <s:element name="getMyDataResponse">
        <s:complexType>
          <s:sequence>
            <s:element minOccurs="0" maxOccurs="1"
name="getMyDataResult">
              <s:complexType mixed="true">
                <s:sequence>
                  <s:any />
                </s:sequence>
              </s:complexType>
            </s:element>
          </s:sequence>
        </s:complexType>
      </s:element>
    </s:schema>
  </wsdl:types>
  <wsdl:message name="getMyDataSoapIn">
    <wsdl:part name="parameters"
element="tns:getMyData" />
  </wsdl:message>
  <wsdl:message name="getMyDataSoapOut">
    <wsdl:part name="parameters"
element="tns:getMyDataResponse" />
  </wsdl:message>
  <wsdl:portType name="...Soap">
    <wsdl:operation name="getMyData">
      <documentation
xmlns="http://schemas.xmlsoap.org/wsdl/">Describe this
method</documentation>
      <wsdl:input message="tns:getMyDataSoapIn" />
      <wsdl:output message="tns:getMyDataSoapOut" />
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="...Soap" type="tns:...Soap">
    <soap:binding
transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
    <wsdl:operation name="getMyData">
      <soap:operation
soapAction="http://.../getMyData" style="document" />
      <wsdl:input>
        <soap:body use="literal" />
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal" />
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="...">
    <documentation
xmlns="http://schemas.xmlsoap.org/wsdl/">Description
of these services</documentation>
    <wsdl:port name="..." binding="tns:...">
      <soap:address location="http://..." />
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message