The Artima Developer Community
Sponsored Link

Web Services Forum
Unable to deploy service on https port (Successfully deployed for http)

1 reply on 1 page. Most recent reply: Jul 13, 2009 3:39 AM by Girish Adat

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
sajan philip

Posts: 1
Nickname: sajanjp
Registered: Nov, 2007

Unable to deploy service on https port (Successfully deployed for http) Posted: Nov 19, 2007 5:30 AM
Reply to this message Reply
Advertisement
Hi

I am a newbie in webservices. I have been trying to deploy a simple web service on Apache Axis 1.4 on Tomcat 5.5. I have been able to deploy the service successfully on http port using

java org.apache.axis.client.AdminClient -p 8080 deploy.wsdd

While trying to deploy the same service on https port(8443) it is giving me a number format exception.



Command used:
java org.apache.axis.client.AdminClient -p 8443 deploy.wsdd

****************************************************************** **

Error:
Processing file deploy.wsdd
Exception: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.NumberFormatException: For input string: ""
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:468)
at java.lang.Integer.parseInt(Integer.java:497)
at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java :640)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:143)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:1792)
at org.apache.axis.client.AdminClient.process(AdminClient.java:439)
at org.apache.axis.client.AdminClient.process(AdminClient.java:404)
at org.apache.axis.client.AdminClient.process(AdminClient.java:410)
at org.apache.axis.client.AdminClient.process(AdminClient.java:320)
at org.apache.axis.client.AdminClient.main(AdminClient.java:463)

{http://xml.apache.org/axis/}hostname:siena-testing









*********************************************** ******************


Service:

package samples.userguide.example3;
public class MyService
{
public String serviceMethod(String arg)
{
return arg;
}
}


Kindly help me resolve this error as none of the references have mentioned deploying services on https port.

Thanx in advance
Sajan JP


Girish Adat

Posts: 1
Nickname: girishadat
Registered: Jul, 2009

Re: Unable to deploy service on https port (Successfully deployed for http) Posted: Jul 13, 2009 3:39 AM
Reply to this message Reply
You got solution for this problem? I'm having the same problem with Axis 1.4 and (embedded) Tomcat 5.5.

Flat View: This topic has 1 reply on 1 page
Topic: Axis 1.4 strange characters < 
.... Previous Topic   Next Topic Topic: Whose blog do you read everyday?

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use