You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@juddi.apache.org by GhostMeKnot <Vi...@gmail.com> on 2008/08/18 00:31:11 UTC

jUDDI authentication SOAP error

Greetings,

I have went through several of the posts here talking about this issue, made
changes, but still have the error.

This is the issue: SOAP error saying fault code is not set

My setup:

jUDDI is happy

I am executing get_authToken from the jUDDI Console (Beta)
(localhost:8080/juddi/console/controller.jsp)


jUDDI Version 0.9rc4
Tomcat V 6.0.16
MySql Server 5.0  (juddi publisher to DB has admin priviliges)
CLASSPATH and JAVA_HOME set to Java 1.5 update 16
(googled and read there may be problem with the saaj.jar file -- so tried to
update saaj.jar files to a more recent version; still the same error)**


SOAP Request:

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
 <soapenv:Body>
   <get_authToken generic="2.0" xmlns="urn:uddi-org:api_v2"
     userID="juddi"
     cred=""/>
 </soapenv:Body>
</soapenv:Envelope>

SOAP Response:

<?xml version="1.0" encoding="utf-8" ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/
">
 <SOAP-ENV:Header/>
    <SOAP-ENV:Body>

<SOAP-ENV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>Fault
string, and possibly fault code, not set</faultstring>
      </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


stdout log error from CATALINA_HOME\Tomcat 6.0\logs\stdout_2008-08-17.log:

2008-08-17 13:54:32,234 [http-8080-2] ERROR
org.apache.juddi.registry.AbstractService  - A serious error has occured
while assembling the SOAP Fault.
com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: No NamespaceURI, SOAP
requires faultcode content to be a QName
	at
com.sun.xml.internal.messaging.saaj.soap.impl.FaultImpl.setFaultCode(Unknown
Source)
	at
com.sun.xml.internal.messaging.saaj.soap.impl.FaultImpl.setFaultCode(Unknown
Source)
	at
org.apache.juddi.registry.AbstractService.doPost(AbstractService.java:317)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Unknown Source)



Where do I set fault codes?

Thanks for any ideas!
GhostMeKnot
-- 
View this message in context: http://www.nabble.com/jUDDI-authentication-SOAP-error-tp19023981p19023981.html
Sent from the jUDDI - User mailing list archive at Nabble.com.


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