Hallo zusammen,
eins vorweg, ich habe von Webservices noch nicht soviel Ahnung (bin mich am einlesen..) , soll aber eine Hausarbeit damit realiseren.
Ich möchte dabei auf den Webserivce von Thomas Bayer zurückgreifen und eine Suche nach BLZ ermöglichen.
http://www.thomas-bayer.com/axis2/se...LZService?wsdl
Ich habe ein paar Fragen an euch bei denen ihr mir hoffentlich helfen könnt. Vielen Dank im Voraus dafür !!!
1. Wie gehe ich idealerweise vor um einen Webservice eines anderen zu nutzen ... ?
2. Mir ist noch nicht ganz klar wie ich auf die WSDL "verweisen" kann um den Webservice zu nutzen. In der Literatur habe ich bisher zu dem Thema nichts gefunden.
3. Wie nutze ich die Funtionalität eines Webservices ... ?
4. Habt ihr irgendwelche Literatur die ihr mir besonders ans Herz legen würdet ?
Vielen Dank für eure Hilfe
Sawyer
eins vorweg, ich habe von Webservices noch nicht soviel Ahnung (bin mich am einlesen..) , soll aber eine Hausarbeit damit realiseren.
Ich möchte dabei auf den Webserivce von Thomas Bayer zurückgreifen und eine Suche nach BLZ ermöglichen.
http://www.thomas-bayer.com/axis2/se...LZService?wsdl
Code:
<wsdl:definitions targetNamespace="http://thomas-bayer.com/blz/"> <wsdl:documentation>BLZService</wsdl:documentation> − <wsdl:types> − <xsd:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://thomas-bayer.com/blz/"> <xsd:element name="getBank" type="tns:getBankType"/> <xsd:element name="getBankResponse" type="tns:getBankResponseType"/> − <xsd:complexType name="getBankType"> − <xsd:sequence> <xsd:element name="blz" type="xsd:string"/> </xsd:sequence> </xsd:complexType> − <xsd:complexType name="getBankResponseType"> − <xsd:sequence> <xsd:element name="details" type="tns:detailsType"/> </xsd:sequence> </xsd:complexType> − <xsd:complexType name="detailsType"> − <xsd:sequence> <xsd:element minOccurs="0" name="bezeichnung" type="xsd:string"/> <xsd:element minOccurs="0" name="bic" type="xsd:string"/> <xsd:element minOccurs="0" name="ort" type="xsd:string"/> <xsd:element minOccurs="0" name="plz" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:schema> </wsdl:types> − <wsdl:message name="getBank"> <wsdl:part name="parameters" element="tns:getBank"/> </wsdl:message> − <wsdl:message name="getBankResponse"> <wsdl:part name="parameters" element="tns:getBankResponse"/> </wsdl:message> − <wsdl:portType name="BLZServicePortType"> − <wsdl:operation name="getBank"> <wsdl:input message="tns:getBank"/> <wsdl:output message="tns:getBankResponse" wsaw:Action="http://thomas-bayer.com/blz/BLZService/getBankResponse"/> </wsdl:operation> </wsdl:portType> − <wsdl:binding name="BLZServiceSOAP11Binding" type="tns:BLZServicePortType"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> − <wsdl:operation name="getBank"> <soap:operation soapAction="" style="document"/> − <wsdl:input> <soap:body use="literal"/> </wsdl:input> − <wsdl:output> <soap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> − <wsdl:binding name="BLZServiceSOAP12Binding" type="tns:BLZServicePortType"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/> − <wsdl:operation name="getBank"> <soap12:operation soapAction="" style="document"/> − <wsdl:input> <soap12:body use="literal"/> </wsdl:input> − <wsdl:output> <soap12:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> − <wsdl:binding name="BLZServiceHttpBinding" type="tns:BLZServicePortType"> <http:binding verb="POST"/> − <wsdl:operation name="getBank"> <http:operation location="BLZService/getBank"/> − <wsdl:input> <mime:content type="text/xml" part="getBank"/> </wsdl:input> − <wsdl:output> <mime:content type="text/xml" part="getBank"/> </wsdl:output> </wsdl:operation> </wsdl:binding> − <wsdl:service name="BLZService"> − <wsdl:port name="BLZServiceSOAP11port_http" binding="tns:BLZServiceSOAP11Binding"> <soap:address location="http://www.thomas-bayer.com:80/axis2/services/BLZService"/> </wsdl:port> − <wsdl:port name="BLZServiceSOAP12port_http" binding="tns:BLZServiceSOAP12Binding"> <soap12:address location="http://www.thomas-bayer.com:80/axis2/services/BLZService"/> </wsdl:port> − <wsdl:port name="BLZServiceHttpport" binding="tns:BLZServiceHttpBinding"> <http:address location="http://www.thomas-bayer.com:80/axis2/services/BLZService"/> </wsdl:port> </wsdl:service> </wsdl:definitions>
1. Wie gehe ich idealerweise vor um einen Webservice eines anderen zu nutzen ... ?
2. Mir ist noch nicht ganz klar wie ich auf die WSDL "verweisen" kann um den Webservice zu nutzen. In der Literatur habe ich bisher zu dem Thema nichts gefunden.
3. Wie nutze ich die Funtionalität eines Webservices ... ?
4. Habt ihr irgendwelche Literatur die ihr mir besonders ans Herz legen würdet ?
Vielen Dank für eure Hilfe
Sawyer
Comment