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 sarika pramod <sa...@gmail.com> on 2008/08/26 14:35:36 UTC

Axis Web Service issue

Hi all,

I am getting this error when i am deploying the AXIS webservice in JBOSS

C:\FCIPlannerServer-1.0\WEB-INF\classes\com\fci\server\ws>java
org.apache.axis.client.AdminClient -l"
http://localhost:8080/FCIPlannerServer-1.0/servic
es/AdminService" deploy.wsdd
Processing file deploy.wsdd
Exception: AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode:
 faultString: (404)/FCIPlannerServer-1.0/services/AdminService
 faultActor:
 faultNode:
 faultDetail:
        {}:return code:  404
&lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.5.17 - Error
report&lt;/title&gt;&lt;style&gt;&lt;!--H1
{font-family:Tahoma,Arial,sans-serif;colo
r:white;background-color:#525D76;font-size:22px;} H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3 {fo
nt-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY {font-family:Tahoma,Arial,sans-serif;color:black;backgrou
nd-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P {font-family:Tahoma,Arial,sans-serif;background:white
;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR
{color : #525D76;}--&gt;&lt;/style&gt;
&lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTT
P Status 404 - /FCIPlannerServer-1.0/services/AdminService&lt;/h1&gt;&lt;HR
size=&quot;1&quot; noshade=&quot;noshade&quot;&gt;&lt;p&gt;&lt;b&gt;type&l
t;/b&gt; Status report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt;
&lt;u&gt;/FCIPlannerServer-1.0/services/AdminService&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&
lt;b&gt;description&lt;/b&gt; &lt;u&gt;The requested resource
(/FCIPlannerServer-1.0/services/AdminService) is not
available.&lt;/u&gt;&lt;/p&gt;&lt;H
R size=&quot;1&quot; noshade=&quot;noshade&quot;&gt;&lt;h3&gt;Apache
Tomcat/5.5.17&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;
        {http://xml.apache.org/axis/}HttpErrorCode:404

Any help appreciated.

Regards,
Sarika

wsdl2java question

Posted by SG...@intellicare.com.
We had been using the Eclipse plug-in for WSDL-to-Java codegen. When we
recently tried the same codegen with wsdl2java.bat, we received "Malformed
uri" runtime errors.
It was easy to find the problem (we had removed a security policy from the
WSDL but had forgotten to remove the policy reference).

I could not find a set of options for the wsdl2java.bat that would
successfully run the codegen so I'm wondering if this indicates a problem
with the Eclipse plug-in.

Using Axis2 1.3.

Sample WSDL is attached.

(See attached file: Simple.wsdl)

- Steve
______________________________________________
Steve Gruverman, Programmer
IntelliCare, Inc. | A Medco Health Solutions Company

500 Southborough Drive | South Portland ME 04106

RE: Axis Web Service issue

Posted by "Shah, Sumit" <su...@cgi.com>.
You might be able to do it by changing the web.xml entry in the war
file.

 

Thanks

Sumit

 

________________________________

From: sarika pramod [mailto:sarika.pramod@gmail.com] 
Sent: Tuesday, August 26, 2008 12:29 PM
To: axis-user@ws.apache.org
Cc: atmanes@gmail.com
Subject: Re: Axis Web Service issue

 

Hi Anne,

 

I have the web service code in a war file , FCC.war and we have the
another ear deployed in JBOSS/server/b2c/deploy/ folder......

 

I need the service deployed in
http://localhost:8080/FCIPlannerServer-1.0/services/FCIClientTestInfo?ws
dl

 

I am able to deploy the AXIS Webservice as
http://localhost:8080/axis/services/FCIClientTestInfo?wsdl

 

 

I am not able to understand where I am going wrong in my approach. Can
you please please help me figure out. All help greatly appreciated.

 

Regards,

Sarika



 

On 8/26/08, Anne Thomas Manes <at...@gmail.com> wrote: 

This is a 404 Not Found message.
You must have specified a wrong URL.

Anne

On Tue, Aug 26, 2008 at 8:35 AM, sarika pramod <sa...@gmail.com>
wrote:
> Hi all,
>
> I am getting this error when i am deploying the AXIS webservice in
JBOSS
>
> C:\FCIPlannerServer-1.0\WEB-INF\classes\com\fci\server\ws>java
> org.apache.axis.client.AdminClient
> -l"http://localhost:8080/FCIPlannerServer-1.0/servic
> es/AdminService" deploy.wsdd
> Processing file deploy.wsdd
> Exception: AxisFault
>  faultCode: {http://xml.apache.org/axis/}HTTP
<http://xml.apache.org/axis/%7dHTTP> 
>  faultSubcode:
>  faultString: (404)/FCIPlannerServer-1.0/services/AdminService
>  faultActor:
>  faultNode:
>  faultDetail:
>         {}:return code:  404
> &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.5.17 - Error
> report&lt;/title&gt;&lt;style&gt;&lt;!--H1
> {font-family:Tahoma,Arial,sans-serif;colo
> r:white;background-color:#525D76;font-size:22px;} H2
>
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;font-size:16px;}
> H3 {fo
>
nt-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;f
ont-size:14px;}
> BODY {font-family:Tahoma,Arial,sans-serif;color:black;backgrou
> nd-color:white;} B
>
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D7
6;}
> P {font-family:Tahoma,Arial,sans-serif;background:white
> ;color:black;font-size:12px;}A {color : black;}A.name {color :
black;}HR
> {color : #525D76;}--&gt;&lt;/style&gt;
> &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTT
> P Status 404 -
/FCIPlannerServer-1.0/services/AdminService&lt;/h1&gt;&lt;HR
> size=&quot;1&quot;
noshade=&quot;noshade&quot;&gt;&lt;p&gt;&lt;b&gt;type&l
> t;/b&gt; Status report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt;
>
&lt;u&gt;/FCIPlannerServer-1.0/services/AdminService&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;&
> lt;b&gt;description&lt;/b&gt; &lt;u&gt;The requested resource
> (/FCIPlannerServer-1.0/services/AdminService) is not
> available.&lt;/u&gt;&lt;/p&gt;&lt;H
> R size=&quot;1&quot; noshade=&quot;noshade&quot;&gt;&lt;h3&gt;Apache
> Tomcat/5.5.17&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;
>         {http://xml.apache.org/axis/}HttpErrorCode:404
<http://xml.apache.org/axis/%7dHttpErrorCode:404> 
>
> Any help appreciated.
>
> Regards,
> Sarika

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org

 


Re: Axis Web Service issue

Posted by sarika pramod <sa...@gmail.com>.
Hi Anne,

I have the web service code in a war file , FCC.war and we have the another
ear deployed in JBOSS/server/b2c/deploy/ folder......

I need the service deployed in
http://localhost:8080/FCIPlannerServer-1.0/services/FCIClientTestInfo?wsdl

I am able to deploy the AXIS Webservice as
http://localhost:8080/axis/services/FCIClientTestInfo?wsdl


I am not able to understand where I am going wrong in my approach. Can you
please please help me figure out. All help greatly appreciated.

Regards,
Sarika



On 8/26/08, Anne Thomas Manes <at...@gmail.com> wrote:
>
> This is a 404 Not Found message.
> You must have specified a wrong URL.
>
> Anne
>
> On Tue, Aug 26, 2008 at 8:35 AM, sarika pramod <sa...@gmail.com>
> wrote:
> > Hi all,
> >
> > I am getting this error when i am deploying the AXIS webservice in JBOSS
> >
> > C:\FCIPlannerServer-1.0\WEB-INF\classes\com\fci\server\ws>java
> > org.apache.axis.client.AdminClient
> > -l"http://localhost:8080/FCIPlannerServer-1.0/servic
> > es/AdminService" deploy.wsdd
> > Processing file deploy.wsdd
> > Exception: AxisFault
> >  faultCode: {http://xml.apache.org/axis/}HTTP
> >  faultSubcode:
> >  faultString: (404)/FCIPlannerServer-1.0/services/AdminService
> >  faultActor:
> >  faultNode:
> >  faultDetail:
> >         {}:return code:  404
> > &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.5.17 - Error
> > report&lt;/title&gt;&lt;style&gt;&lt;!--H1
> > {font-family:Tahoma,Arial,sans-serif;colo
> > r:white;background-color:#525D76;font-size:22px;} H2
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> > H3 {fo
> >
> nt-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> > BODY {font-family:Tahoma,Arial,sans-serif;color:black;backgrou
> > nd-color:white;} B
> >
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> > P {font-family:Tahoma,Arial,sans-serif;background:white
> > ;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR
> > {color : #525D76;}--&gt;&lt;/style&gt;
> > &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTT
> > P Status 404 -
> /FCIPlannerServer-1.0/services/AdminService&lt;/h1&gt;&lt;HR
> > size=&quot;1&quot;
> noshade=&quot;noshade&quot;&gt;&lt;p&gt;&lt;b&gt;type&l
> > t;/b&gt; Status report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt;
> >
> &lt;u&gt;/FCIPlannerServer-1.0/services/AdminService&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&
> > lt;b&gt;description&lt;/b&gt; &lt;u&gt;The requested resource
> > (/FCIPlannerServer-1.0/services/AdminService) is not
> > available.&lt;/u&gt;&lt;/p&gt;&lt;H
> > R size=&quot;1&quot; noshade=&quot;noshade&quot;&gt;&lt;h3&gt;Apache
> > Tomcat/5.5.17&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;
> >         {http://xml.apache.org/axis/}HttpErrorCode:404
> >
> > Any help appreciated.
> >
> > Regards,
> > Sarika
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

Re: Axis Web Service issue

Posted by Anne Thomas Manes <at...@gmail.com>.
This is a 404 Not Found message.
You must have specified a wrong URL.

Anne

On Tue, Aug 26, 2008 at 8:35 AM, sarika pramod <sa...@gmail.com> wrote:
> Hi all,
>
> I am getting this error when i am deploying the AXIS webservice in JBOSS
>
> C:\FCIPlannerServer-1.0\WEB-INF\classes\com\fci\server\ws>java
> org.apache.axis.client.AdminClient
> -l"http://localhost:8080/FCIPlannerServer-1.0/servic
> es/AdminService" deploy.wsdd
> Processing file deploy.wsdd
> Exception: AxisFault
>  faultCode: {http://xml.apache.org/axis/}HTTP
>  faultSubcode:
>  faultString: (404)/FCIPlannerServer-1.0/services/AdminService
>  faultActor:
>  faultNode:
>  faultDetail:
>         {}:return code:  404
> &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/5.5.17 - Error
> report&lt;/title&gt;&lt;style&gt;&lt;!--H1
> {font-family:Tahoma,Arial,sans-serif;colo
> r:white;background-color:#525D76;font-size:22px;} H2
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
> H3 {fo
> nt-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
> BODY {font-family:Tahoma,Arial,sans-serif;color:black;backgrou
> nd-color:white;} B
> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
> P {font-family:Tahoma,Arial,sans-serif;background:white
> ;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR
> {color : #525D76;}--&gt;&lt;/style&gt;
> &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTT
> P Status 404 - /FCIPlannerServer-1.0/services/AdminService&lt;/h1&gt;&lt;HR
> size=&quot;1&quot; noshade=&quot;noshade&quot;&gt;&lt;p&gt;&lt;b&gt;type&l
> t;/b&gt; Status report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt;
> &lt;u&gt;/FCIPlannerServer-1.0/services/AdminService&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&
> lt;b&gt;description&lt;/b&gt; &lt;u&gt;The requested resource
> (/FCIPlannerServer-1.0/services/AdminService) is not
> available.&lt;/u&gt;&lt;/p&gt;&lt;H
> R size=&quot;1&quot; noshade=&quot;noshade&quot;&gt;&lt;h3&gt;Apache
> Tomcat/5.5.17&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;
>         {http://xml.apache.org/axis/}HttpErrorCode:404
>
> Any help appreciated.
>
> Regards,
> Sarika

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org