<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:ns1="http://io.java/xsd"
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:ns0="http://ws.apache.org/axis2"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
targetNamespace="http://ws.apache.org/axis2">
<wsdl:documentation>LicenseService</wsdl:documentation>
<wsdl:types>
<xs:schema xmlns:ns="http://ws.apache.org/axis2"
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://ws.apache.org/axis2">
<xs:complexType name="Exception">
<xs:sequence>
<xs:element minOccurs="0" name="Exception"
nillable="true" type="xs:anyType"/>
</xs:sequence>
</xs:complexType>
<xs:element name="IOException">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="IOException"
nillable="true" type="ns1:IOException"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="forward2">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="param0"
type="xs:int"/>
<xs:element minOccurs="0" name="param1"
nillable="true" type="xs:base64Binary"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="forward2Response">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return"
nillable="true" type="xs:base64Binary"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="l">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="param0"
type="xs:int"/>
<xs:element minOccurs="0" name="param1"
nillable="true" type="xs:base64Binary"/>
<xs:element minOccurs="0" name="param2"
nillable="true" type="ns1:OutputStream"/>
<xs:element minOccurs="0" name="param3"
nillable="true" type="ns1:InputStream"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="lResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return"
nillable="true" type="xs:base64Binary"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<xs:schema xmlns:ax21="http://io.java/xsd"
attributeFormDefault="qualified" elementFormDefault="qualified"
targetNamespace="http://io.java/xsd">
<xs:complexType name="IOException">
<xs:complexContent>
<xs:extension base="ns0:Exception">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="OutputStream">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="InputStream">
<xs:sequence/>
</xs:complexType>
</xs:schema>
</wsdl:types>
<wsdl:message name="forward2Request">
<wsdl:part name="parameters" element="ns0:forward2"/>
</wsdl:message>
<wsdl:message name="forward2Response">
<wsdl:part name="parameters" element="ns0:forward2Response"/>
</wsdl:message>
<wsdl:message name="IOException">
<wsdl:part name="parameters" element="ns0:IOException"/>
</wsdl:message>
<wsdl:message name="lRequest">
<wsdl:part name="parameters" element="ns0:l"/>
</wsdl:message>
<wsdl:message name="lResponse">
<wsdl:part name="parameters" element="ns0:lResponse"/>
</wsdl:message>
<wsdl:portType name="LicenseServicePortType">
<wsdl:operation name="forward2">
<wsdl:input message="ns0:forward2Request"
wsaw:Action="urn:forward2"/>
<wsdl:output message="ns0:forward2Response"
wsaw:Action="urn:forward2Response"/>
<wsdl:fault message="ns0:IOException" name="IOException"
wsaw:Action="urn:forward2IOException"/>
</wsdl:operation>
<wsdl:operation name="l">
<wsdl:input message="ns0:lRequest" wsaw:Action="urn:l"/>
<wsdl:output message="ns0:lResponse"
wsaw:Action="urn:lResponse"/>
<wsdl:fault message="ns0:IOException" name="IOException"
wsaw:Action="urn:lIOException"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="LicenseServiceSOAP11Binding"
type="ns0:LicenseServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
<wsdl:operation name="forward2">
<soap:operation soapAction="urn:forward2" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="IOException">
<soap:fault use="literal" name="IOException"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="l">
<soap:operation soapAction="urn:l" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="IOException">
<soap:fault use="literal" name="IOException"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="LicenseServiceSOAP12Binding"
type="ns0:LicenseServicePortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
<wsdl:operation name="forward2">
<soap12:operation soapAction="urn:forward2" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
<wsdl:fault name="IOException">
<soap12:fault use="literal" name="IOException"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="l">
<soap12:operation soapAction="urn:l" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
<wsdl:fault name="IOException">
<soap12:fault use="literal" name="IOException"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="LicenseServiceHttpBinding"
type="ns0:LicenseServicePortType">
<http:binding verb="POST"/>
<wsdl:operation name="forward2">
<http:operation location="LicenseService/forward2"/>
<wsdl:input>
<mime:content type="text/xml" part="forward2"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="forward2"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="l">
<http:operation location="LicenseService/l"/>
<wsdl:input>
<mime:content type="text/xml" part="l"/>
</wsdl:input>
<wsdl:output>
<mime:content type="text/xml" part="l"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="LicenseService">
<wsdl:port name="LicenseServiceSOAP11port_http"
binding="ns0:LicenseServiceSOAP11Binding">
<soap:address
location="http://127.0.0.1:8080/axis2/services/LicenseService"/>
</wsdl:port>
<wsdl:port name="LicenseServiceSOAP12port_http"
binding="ns0:LicenseServiceSOAP12Binding">
<soap12:address
location="http://127.0.0.1:8080/axis2/services/LicenseService"/>
</wsdl:port>
<wsdl:port name="LicenseServiceHttpport"
binding="ns0:LicenseServiceHttpBinding">
<http:address
location="http://127.0.0.1:8080/axis2/services/LicenseService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
mgainty wrote:
>
> Please Post the WSDL
>
> M-
> ----- Original Message -----
> From: "tina--" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Monday, November 19, 2007 6:13 PM
> Subject: how to define "invokeBlocking" to return you a byte[]??
>
>
>>
>> Hello again! I have a second question, in another code.
>> There is a parameter ReturnTypes, in the invokeBlocking statement, where,
> as
>> api says, determines the type of the response. This parameter is a
>> mplampla.class (e.g. String.class, INteger.class, other.class). As the
>> api
>> says, the response will be an element of type Object. I want the response
> to
>> be an array of arrays of bytes. For example I want response[0] to be a
>> byte[]. When I cast it, there is an error (cannot cast from Object to
>> byte[]). When I cast it to String s and then I do s.getBytes(), the index
>> changes. I work with TCP packets, and I see that after casting to String,
>> and getting the bytes, the length of the data of the tcp message is 0,
> while
>> it should be >0. Can you please explain me how to do it?
>> --
>> View this message in context:
> http://www.nabble.com/how-to-define-%22invokeBlocking%22-to-return-you-a-byt
> e-----tf4840139.html#a13847630
>> Sent from the Axis - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/how-to-define-%22invokeBlocking%22-to-return-you-a-byte-----tf4840139.html#a13856623
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]