hi
the
tcpmon request is as follows
POST
/Training/services/HelloWebService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related,
text/*
User-Agent: Axis/1.0
Host:
localhost
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 295
Regards
Krishnakumar B
please use the tcpmon to look what is on the wire and publish it - the
wsdd look fine to me
-----Ursprüngliche Nachricht----- Von:
Krishnakumar B [mailto:[EMAIL PROTECTED] Gesendet: Do
06.03.2003 13.29 Uhr An: [EMAIL PROTECTED] Cc:
Betreff: RE: Using style Document in WSDD For
Deployment
hi
I
have tried adding ot the server-config.wsdd. It does not work. I have added
the file below. Is this right?
Regards
Krishnakumar B
<?xml version="1.0" encoding="UTF-8"?> <deployment
xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <globalConfiguration>
<parameter name="adminPassword" value="admin"/>
<parameter name="attachments.Directory" value="C:\Tomcat
4.1\webapps\Training\WEB-INF\attachments"/> <parameter
name="sendMultiRefs" value="true"/> <parameter
name="sendXsiTypes" value="true"/> <parameter
name="attachments.implementation"
value="org.apache.axis.attachments.AttachmentsImpl"/>
<parameter name="sendXMLDeclaration" value="true"/>
<requestFlow> <handler
type="java:org.apache.axis.handlers.JWSHandler">
<parameter name="scope" value="session"/>
</handler> <handler
type="java:org.apache.axis.handlers.JWSHandler">
<parameter name="scope" value="request"/>
<parameter name="extension" value=".jwr"/>
</handler>
</requestFlow> </globalConfiguration> <handler
name="RPCDispatcher"
type="java:org.apache.axis.providers.java.RPCProvider"/> <handler
name="MsgDispatcher"
type="java:org.apache.axis.providers.java.MsgProvider"/> <handler
name="LocalResponder"
type="java:org.apache.axis.transport.local.LocalResponder"/> <handler
name="Authenticate"
type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/> <handler
name="URLMapper"
type="java:org.apache.axis.handlers.http.URLMapper"/> <service
name="Version" provider="java:RPC"> <parameter
name="allowedMethods" value="getVersion"/> <parameter
name="className"
value="org.apache.axis.Version"/> </service> <service
name="AdminService" provider="java:MSG"> <parameter
name="allowedMethods" value="AdminService"/> <parameter
name="enableRemoteAdmin" value="false"/> <parameter
name="className" value="org.apache.axis.utils.Admin"/>
<namespace>http://xml.apache.org/axis/wsdd/</namespace> </service> <service
name="HelloWebService" provider="java:RPC" >
<namespace>http://localhost:8080/Training/services/HelloWebService</namespace>
<parameter name="allowedMethods" value="*"/> <parameter
name="scope" value="Application"/> <parameter
name="className"
value="HelloWebService"/> </service> <transport
name="local"> <responseFlow> <handler
type="java:org.apache.axis.transport.local.LocalResponder"/>
</responseFlow> </transport> <transport
name="http"> <requestFlow> <handler
type="URLMapper"/> <handler
type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
</requestFlow> </transport> </deployment>
Hi,
try to add the following to your service description in your
server-config.wsdd
<namespace>[namespace of the first body
child]</namespace>
this enables axis to dispatch to the correct service.
Regards
Oliver
____________________________________________________________________
Oliver Adler, Senior
Consultant SYRACOM
Systems AG - "The IT-Architects"
Otto-von-Guericke-Ring 15
D-65205 Wiesbaden
Tel +49 6122-9176-0
Fax +49 6122-9176-11 Mobil
+49 175-1853998
E-Mail: [EMAIL PROTECTED]
<www.SYRACOM.de>
Ein Unternehmen der SYRACOM Gruppe - "The
Business- & IT-Architects"
____________________________________________________________________
-----Ursprüngliche Nachricht----- Von:
Krishnakumar B [mailto:[EMAIL PROTECTED] Gesendet:
Do 06.03.2003 12.10 Uhr An: [EMAIL PROTECTED]
Cc: Betreff: Using style Document in WSDD For
Deployment
Hi
I am
deploying a web service with in the WSDD file.
When i invoke this webservice from a client it
says
No
such operation in0. I got the SOAP message using TCPMonitor. The
same web service works when i say
.
How do
i make the work?
Would
be glad for any help.
The
SOAP message is
The
WSDL for web service given by AXIS is
Regards
Krishnakumar B
DISCLAIMER: This message (including attachment if any) is
confidential and may be privileged. Before opening attachments
please check them for viruses and defects. MindTree Consulting
Private Limited (MindTree) will not be responsible for any viruses
or defects or any forwarded attachments emanating either from
within MindTree or outside. If you have received this message by
mistake please notify the sender by return e-mail and delete this
message from your system. Any unauthorized use or dissemination of
this message in whole or in part is strictly prohibited. Please
note that e-mails are susceptible to change and MindTree shall not
be liable for any improper, untimely or incomplete
transmission | DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Private Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited. Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.
|