Hi,

I have attempted publishing a few services using both the jws file and wsdd
deployment techniques and have some questions and feedback.

1. Services published using jws and wsdd, result in a WSDL definition having
a namespace URI-
     http://<hostname>:<port>//axis/<servicename> or
http://<hostname>:<port>/axis/services/<servicename>

   Is there any way for me to specify a custom URI for my service. I know I
can do it in the beanMapping where i specify a qname for the mapped bean
class.

-------------------------deploy.wsdd-----------------------------
<deployment xmlns="http://xml.apache.org/axis/wsdd/";
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";
            xmlns:portfolio="http://www.interkeel.com/Portfolio";>
  <service name="http://www.interkeel.com/Portfolio"; provider="java:RPC" >
    <parameter name="className"
value="com.interkeel.samples.server.portfolio.PortfolioManager" />
    <parameter name="allowedMethods" value="getPortfolio ping" />
  </service>
  <beanMapping qname="portfolio:Position"

languageSpecificType="java:com.interkeel.samples.server.portfolio.Position"/
>
</deployment>
-----------------------------------------------------------------



2. I have noticed that services deployed using the jws technique, tend to
ignore the namespace URIs completely. I used a simple service where I
initially forgot to specify the namespace URI but the call actually
succeeded and came back with a result instead of a fault. Shouldn't SOAP
services be restrictive in the messages they accept. I know that there are
typed and untyped servers but here a SOAP service that is using the endpoint
information to invoke a specific Java provider.


--maneesh
interKeel, Inc.
www.interkeel.com

Reply via email to