RE: [JBoss-user] error deploying wsr -- resolution

2002-12-16 Thread Bruce Scharlau
At 17:41 13/12/2002 -0500, you wrote:

All of my errors seemed to be linked to:
- not listing the fully-qualified classname in my web-service.xml

- using * in the allowedMethods tag.

After changing these in the web-service.xml file, I am able to view
http://localhost:8080/jboss-net/servlet/AxisServlet

and my service creates wsdl.


Glad to hear it's sorted.


cheers,

Bruce

Dr. Bruce Scharlau
Dept. of Computing Science
University of Aberdeen
Aberdeen AB24 3UE
01224 272193
http://www.csd.abdn.ac.uk/~bscharla
mailto:[EMAIL PROTECTED]



---
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


RE: [JBoss-user] error deploying wsr -- resolution

2002-12-13 Thread John Fawcett
All of my errors seemed to be linked to:
- not listing the fully-qualified classname in my web-service.xml

- using * in the allowedMethods tag.

After changing these in the web-service.xml file, I am able to view
http://localhost:8080/jboss-net/servlet/AxisServlet

and my service creates wsdl.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of John
Fawcett
Sent: Friday, December 13, 2002 11:45 AM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] error deploying wsr

Thanks for the input. 

I can access the index.html file just fine. Also, I can access my
service via a client similar to the one in the helloEJB example.
However, neither 
http://localhost:8080/jboss-net/servlet/AxisServlet
nor
http://localhost:8080/jboss-net/services/?wsdl

respond properly.  

The error I receive from the latter is quite interesting and attached
below.  In a fit of desperation, I upgraded to axis1.1beta and made some
small tweaks to the jboss-net to enable compilation. The error remained
unchanged (error msg 1 listed below).  

In some other examples I looked at, I saw that the web-service.xml file
used 

instead of


so I changed my web-servicexml to the former and tried the url again.
The error changed to Error msg 2 (listed below).

Thank you,
Fawce

=

Error msg 1:
Sorry, something seems to have gone wrong... here are the details:

Fault - WSDLException: faultCode=OTHER_ERROR: Can't find prefix for
'http://ejb.javax'. Namespace prefixes must be set on the Definition
object using the addNamespace(...) method.:  
AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: WSDLException: faultCode=OTHER_ERROR: Can't find prefix
for 'http://ejb.javax'. Namespace prefixes must be set on the Definition
object using the addNamespace(...) method.: 
 faultActor: null
 faultNode: null
 faultDetail: 
stackTrace: WSDLException: faultCode=OTHER_ERROR: Can't find
prefix for 'http://ejb.javax'. Namespace prefixes must be set on the
Definition object using the addNamespace(...) method.: 
at com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source)
at com.ibm.wsdl.util.xml.DOMUtils.getQualifiedValue(Unknown
Source)
at
com.ibm.wsdl.util.xml.DOMUtils.printQualifiedAttribute(Unknown Source)
at com.ibm.wsdl.xml.WSDLWriterImpl.printParts(Unknown Source)
at com.ibm.wsdl.xml.WSDLWriterImpl.printMessages(Unknown Source)
at com.ibm.wsdl.xml.WSDLWriterImpl.printDefinition(Unknown
Source)
at com.ibm.wsdl.xml.WSDLWriterImpl.writeWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLWriterImpl.getDocument(Unknown Source)
at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:269)
at
org.apache.axis.providers.java.JavaProvider.generateWSDL(JavaProvider.ja
va:478)
at
org.jboss.net.axis.server.EJBProvider.generateWSDL(EJBProvider.java:217)





Error msg 2:
Sorry, something seems to have gone wrong... here are the details:

Fault - org.apache.axis.ConfigurationException:
java.lang.ClassNotFoundException: MQAdminSession
AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.lang.ClassNotFoundException: MQAdminSession
 faultActor: null
 faultNode: null
 faultDetail: 
stackTrace: java.lang.ClassNotFoundException: MQAdminSession
at
org.jboss.mx.loading.UnifiedLoaderRepository2.loadClass(UnifiedLoaderRep
ository2.java:168)
at
org.jboss.mx.loading.UnifiedClassLoader.loadClass(UnifiedClassLoader.jav
a:271)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at
org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:171)
at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:154)
at
org.apache.axis.providers.java.EJBProvider.getServiceClass(EJBProvider.j
ava:227)
at
org.apache.axis.providers.java.JavaProvider.initServiceDesc(JavaProvider
.java:599)
at
org.apache.axis.handlers.soap.SOAPService.getInitializedServiceDesc(SOAP
Service.java:335)
at
org.apache.axis.deployment.wsdd.WSDDService.makeNewInstance(WSDDService.
java:507)
at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDe
ployableItem.java:313)
at
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeplo
yableItem.java:299)
at
org.apache.axis.deployment.wsdd.WSDDDeployment.getService(WSDDDeployment
.java:486)
at
org.apache.axi