namespace error , is http://service.as2.edi.cecid.hku.hk/ a broken link?

187 views
Skip to first unread message

ricoo

unread,
Dec 6, 2012, 1:01:18 PM12/6/12
to cecid-...@googlegroups.com
Hello, I connect to Hermes 2 as2 plugin with a java web service client code.
it is good on the hermes serveur side but I can't parse the response of the server after I call sender service, receiverlist service, status service.
I always get the same error.

I get an error about namesapace

response = connectionSoap.call(request, url );            
returns null
           
: javax.xml.transform.TransformerException: org.xml.sax.SAXException: NAMESPACE_ERR: Tentative de création ou de modification d'un objet incorrecte par rapport aux espaces de noms.
org.w3c.dom.DOMException: NAMESPACE_ERR: Tentative de création ou de modification d'un objet incorrecte par rapport aux espaces de noms.

When I execute script .sh in sample to make the same things than my java client,  it works , it gets info from the status service, so it can parse the server's response.

I tryied to reach http://service.as2.edi.cecid.hku.hk/  from a web browser but it seems a broken link.
I wonder if this could be the cause of my failure in the java code, but then the sample scripts shouldn't work then and they do work. so ..

thanks in advance if someone can shed some light on my problem.

ricoo

unread,
Dec 11, 2012, 5:04:00 AM12/11/12
to cecid-...@googlegroups.com
Hello

I solved my problem.

I removed all the libs I had included because they were included in sample files by cecid and now it work well.
I think that in java  7 (and since java 6 ) the libs needed are included in the jdk and no longer need to be included in the project.
Reply all
Reply to author
Forward
0 new messages