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 "Adam.Leggett" <Ad...@upco.co.uk> on 2001/11/22 13:52:21 UTC

WSDL for deployed services

Hi all,

In Axis alpha2 docs say that tacking on ?wsdl gives me the wsdl for my
service at <host>/axis/services/<service-name>.

I can get a list of my services using ?list which gives me:

<?xml version="1.0" encoding="UTF-8" ?> 
- <engineConfig>
- <handlers>
	handlers listed here.... 
  </handlers>
- <services>
- <service name="AdminService" pivot="MsgDispatcher">
  <option name="methodName" value="AdminService" /> 
  <option name="enableRemoteAdmin" value="false" /> 
  <option name="className" value="org.apache.axis.utils.Admin" /> 
  </service>
- <service name="http://soapinterop.org/" pivot="echo">
  <option name="methodName" value="*" /> 
  <option name="className" value="samples.echo.EchoService" /> 
  </service>
  <service name="JWSProcessor" pivot="JWSProcessor" /> 
  <service name="EchoService" pivot="EchoHandler" /> 
  </services>
- <transports>
	transports here...    
</transports>
- <typeMappings>
  <typeMapping classname="samples.echo.SOAPStruct"
deserializerFactory="org.apache.axis.encoding.BeanSerializer$BeanSerFactory"
serializer="org.apache.axis.encoding.BeanSerializer" type="ns:SOAPStruct"
xmlns:ns="http://soapinterop.org/xsd" /> 
  </typeMappings>
  </engineConfig>

But when I try http://development15:8080/axis/services/EchoService?wsdl I
get a 404 from tomcat.

Im on win2000, jdk1.3.1, using catalina

Any clues? Thanks in advance.

Adam Leggett
UPCO
Direct Line: 0113 20 10 631
Fax: 0113 20 10 666
<http://www.upco.co.uk>
The contents of this email are intended for the named addressees and may
contain confidential and / or privileged material. If received in error,
please contact UPCO on +44 (0)113 20 10 600 and then delete the entire email
from your system. Unauthorised review, distribution, disclosure or other use
of this information could constitute a breach of confidence. Your
co-operation in this matter is greatly appreciated.



RE: Errors deploying services

Posted by Dave Cramer <da...@fastcrypt.com>.
Well, seeing as nobody else answered my question, I guess I will ;)

My webserver was (is) broken, and would not respond to queries to
localhost.

Dave

-----Original Message-----
From: Dave Cramer [mailto:dave@fastcrypt.com] 
Sent: Thursday, November 22, 2001 4:02 PM
To: axis-user@xml.apache.org
Subject: Errors deploying services


Hi All,

I am getting the following exception thrown, does anyone know what is
going on?

java org.apache.axis.client.AdminClient -l
http://localhost/webservices/services/AdminService deplo y.wsdd $*
Processing file deploy.wsdd AxisFault
  faultCode: http://xml.apache.org/axis/:Server.generalException
  faultString: java.net.SocketException: Broken pipe: Broken pipe
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:86)
        at
java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
        at
java.io.BufferedInputStream.read(BufferedInputStream.java:204)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:309)
        at
org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:101)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:162)
        at org.apache.axis.client.Call.invoke(Call.java:1241)
        at org.apache.axis.client.Call.invoke(Call.java:640)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:323)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:303)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:310)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:261)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:344)

  faultActor: null
  faultDetails: null

java.net.SocketException: Broken pipe: Broken pipe
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:86)
        at
java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
        at
java.io.BufferedInputStream.read(BufferedInputStream.java:204)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:309)
        at
org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:101)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:162)
        at org.apache.axis.client.Call.invoke(Call.java:1241)
        at org.apache.axis.client.Call.invoke(Call.java:640)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:323)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:303)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:310)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:261)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:344)

Dave



Errors deploying services

Posted by Dave Cramer <da...@fastcrypt.com>.
Hi All,

I am getting the following exception thrown, does anyone know what is
going on?

java org.apache.axis.client.AdminClient -l
http://localhost/webservices/services/AdminService deplo
y.wsdd $*
Processing file deploy.wsdd
AxisFault
  faultCode: http://xml.apache.org/axis/:Server.generalException
  faultString: java.net.SocketException: Broken pipe: Broken pipe
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:86)
        at
java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
        at
java.io.BufferedInputStream.read(BufferedInputStream.java:204)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:309)
        at
org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:101)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:162)
        at org.apache.axis.client.Call.invoke(Call.java:1241)
        at org.apache.axis.client.Call.invoke(Call.java:640)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:323)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:303)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:310)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:261)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:344)

  faultActor: null
  faultDetails: null

java.net.SocketException: Broken pipe: Broken pipe
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:86)
        at
java.io.BufferedInputStream.fill(BufferedInputStream.java:186)
        at
java.io.BufferedInputStream.read(BufferedInputStream.java:204)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:309)
        at
org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:101)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:162)
        at org.apache.axis.client.Call.invoke(Call.java:1241)
        at org.apache.axis.client.Call.invoke(Call.java:640)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:323)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:303)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:310)
        at
org.apache.axis.client.AdminClient.process(AdminClient.java:261)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:344)

Dave