• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

AxisFault

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using eclipse3.1, Lomboz3.1 and Jboss4.04RC1. And for webservices i down loaded Apache Axis 1.2.1 and installed.

Everything working fine. Happy axis and all.

Now my problem is that. I have followed the TUSC tutorals. On chapter 9.

I created new deploy.wsdd. and After giving this command in working directory, I got this message.

>> java org.apache.axis.client.AdminClient deploy.wsdd

I got this messages...

Processing file deploy.wsdd
Exception: AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
faultSubcode:
faultString: java.lang.Exception: Unable to process the message -was it
a valid WSDD descriptor?
faultActor:
faultNode:
faultDetail: {http://xml.apache.org/axis/}hostname:indpro1


Please help me. I am getting trouble and struggle with 2 weeks.

Regards,
Sunny Suresh M.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome To JavaRanch.

Well, is it a valid WSDD file? The error message suggests that it is not. If you post it, we can take a look at it.
 
Sunny Suresh
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, This is my wsdd file, plese verify it and give me a correct soln for it.
thanks.

<?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"
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance">
<service name="MyStoreLoginService" provider="java:EJB">

<parameter name="beanJndiName" value="StoreAccessLocal"/>
<parameter name="homeInterfaceName" value="au.com.tusc.session.StoreAccessLocalHome"/>
<parameter name="remoteInterfaceName" value="au.com.tusc.session.StoreAccessLocal"/>

<parameter name="allowedMethods" value="loginUser"/>
<parameter name="jndiURL" value="jnp://localhost:1099"/>
<parameter name="jndiContextClass" value="org.jnp.interfaces.NamingContextFactory"/>
</service>
</deployment>
 
Sunny Suresh
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

And i have checked this one also..

<?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">

<service name="MyStoreLoginService" provider="java:EJB">
<parameter name="beanJndiName" value="StoreAccessBean"/>
<parameter name="homeInterfaceName" value="au.com.tusc.session.StoreAccessHome"/>
<parameter name="remoteInterfaceName" value="au.com.tusc.session.StoreAccess"/>
<parameter name="allowedMethods" value="loginUser"/>
<parameter name="jndiURL" value="jnp://localhost:1099"/>
<parameter name="jndiContextClass" value="org.jnp.interfaces.NamingContextFactory"/>
</service>
</deployment>


thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic