As per standard, WSDL is supposed to contain the host:port combination.
If you do not want to advertise transport end-points then use a high
level abstraction like CORBA Object reference.

You can have a level of indirection through DNS, but ultimately one can find
the host:port.

Here are the standard snippets.

Soumen Sarkar

http://www.zvon.org/xxl/WSDL1.1/Output/el_soap_address.html

Element
Name: address

Standard excerpt:
The SOAP address binding is used to give a port an address (a URI). A port
using the SOAP binding MUST specify exactly one address. The URI scheme
specified for the address must correspond to the transport specified by the
soap:binding. 

Schema fragment:
<element name="address" type="soap:addressType"/>

http://www.zvon.org/xxl/WSDL1.1/Output/type_soap_addressType.html

Type
Name: soap:addressType
Elements of this type: soap:address 
Attributes of this type:  

Schema fragment:
<complexType name="addressType"> 
     <attribute name="location" type="uriReference" use="required"/> 
</complexType>

http://www.zvon.org/xxl/xmlSchemaReference/Output/Schema/type_uriReference.h
tml


-----Original Message-----
From: Amazing Arny [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 7:43 AM
To: [EMAIL PROTECTED]
Subject: changing the wsdl





Hi,

I'm currently working on a SOAP-service. The soap-service is running on 
OC4J. In front of OC4J is an apache-instance installed as reversed proxy.

When the WSDL is generated, one off the last lines in this WSDL contains the

URL of the OC4J-instance:
<soap:address 
location="http://localhost:8172/infomedicsServer/im.InfomedicsAPI"; />

This is a security leak. We don't want to let the customer know the host and

the port of the OC4J-instance. So either this information has to be changed 
or this is infomation should be removed when the WSDL is generated. Does 
anybody know how to do this?

thanks
Arny


www.amazingarny.myweb.nl


_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to