octet-stream type , problem!

Hi,

I'm trying to develop a proxy client for a Web

service developed with Axis. In its WSDL there is an element defined as

'octet-stream' type, referencing

xmlns:apachesoap="http://xml.apache.org/xml-soap"

My problem is that Im using Jdeveloper to generate Proxy client and it does not find

octet-stream specificacion in the WSDL because this page doesn't exist:

"http://xml.apache.org/xml-soap", and of course either XML schema for

octet-stream type... how is it possible to find XML schema for

octet-stream type definition?

Thanks in advance...

This is the WSDL :

<?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions targetNamespace="http://servicesaseguradoras.rscf.mjusticia.es" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://servicesaseguradoras.rscf.mjusticia.es" xmlns:intf="http://servicesaseguradoras.rscf.mjusticia.es" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

<!--WSDL created by Apache Axis version: 1.2.1

Built on Jun 14, 2005 (09:15:57 EDT)-->

<wsdl:types>

<schema elementFormDefault="qualified" targetNamespace="http://servicesaseguradoras.rscf.mjusticia.es" xmlns="http://www.w3.org/2001/XMLSchema">

<import namespace="http://xml.apache.org/xml-soap"/>

<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>

<complexType name="ResultadoType">

<sequence>

<element name="Recibido" type="xsd:boolean"/>

<element name="Procesado" type="xsd:boolean"/>

<element name="CodigoError" type="xsd:int"/>

<element maxOccurs="1" minOccurs="0" name="DescripcionError" nillable="true" type="xsd:string"/>

</sequence>

</complexType>

</schema>

</wsdl:types>

<wsdl:message name="receiveResponse">

<wsdl:part name="receiveReturn" type="impl:ResultadoType"/>

</wsdl:message>

<wsdl:message name="receiveRequest">

<wsdl:part name="claveAseguradora" type="xsd:string"/>

<wsdl:part name="nombreFichero" type="xsd:string"/>

<wsdl:part name="ficheroAseguradora" type="apachesoap:octet-stream"/>

<wsdl:part name="firmaPKCS7" type="xsd:string"/>

</wsdl:message>

<wsdl:portType name="FileReceiver">

<wsdl:operation name="receive" parameterOrder="claveAseguradora nombreFichero ficheroAseguradora firmaPKCS7">

<wsdl:input message="impl:receiveRequest" name="receiveRequest"/>

<wsdl:output message="impl:receiveResponse" name="receiveResponse"/>

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="FileReceiverSoapBinding" type="impl:FileReceiver">

<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="receive">

<wsdlsoap:operation soapAction=""/>

<wsdl:input name="receiveRequest">

<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://servicesaseguradoras.rscf.mjusticia.es" use="encoded"/>

</wsdl:input>

<wsdl:output name="receiveResponse">

<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://servicesaseguradoras.rscf.mjusticia.es" use="encoded"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="FileReceiverService">

<wsdl:port binding="impl:FileReceiverSoapBinding" name="FileReceiver">

<wsdlsoap:address location="https://212.163.4.89/RESEVIAseguradoras/services/FileReceiver"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

Thanks in advance

Juan.

[4093 byte] By [jj_vzlaa] at [2007-11-27 2:55:47]
# 1

This is the place where Base64 encoder and decoders are useful. Base64 encoder converts andy raw bytes to string format and decoder converts back the encoded string to original byte format. So if you a requirement to send octect-stream and if you dont find schema for it then simply encode the byte into string and pass over the string in webservice and on server side decode the string back to bytes. There are many implementations of Base64 available on the net. Just make a google search.

.@_a at 2007-7-12 3:32:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Es para el webService registro del Ministerio de Justicia? Tienes un certificado del servidor
DavidJa at 2007-7-12 3:32:52 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...