You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Mayur Shetye <ma...@yahoo.com> on 2004/06/29 17:27:11 UTC

Echo base 64

hello friends 

i am writing a webservice which sends one or more
files from a directory encoded in base 64 format . The
web service echos them back. i wanted to know a couple
of things .
  1. how do I associate the name of the files with the
binary encoded data?

  2. I am sending you the WSDL .  What do I put in the
schema element , What shall be the input and output in
the <operation> tag ?

  The rudimentary WSDL is as follows . I shall
appreciate any help .

Thanks ,
Mayur
________

<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:y="http://new.webservice.namespace"
targetNamespace="http://new.webservice.namespace">
	<types>
		<xs:schema/>
	</types>
	<message name="messageName">
		<part name="parameter" element=""/>
	</message>
	<portType name="Base64ServiceSOAP">
		<operation name="echoBase64">
			<input name=""	/>
			<output name=""	/>
		</operation>
	</portType>
	<binding name="Base64ServiceSOAP"
type="y:Base64ServiceSOAP">
		<operation name="echoBase64">
			<input/>
			<output/>
		</operation>
	</binding>
	<service name="EchoBase64Service">
		<port name="Base64ServiceSOAP"
binding="y:Base64ServiceSOAP">
			<address
location="http://mustang.cs.binghamton.edu:8080"/>
		</port>
	</service>
</definitions>




		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail