Page 1 of 1

SOAP Interface: solution for installation trouble

Posted: Mon Dec 17, 2007 3:49 pm
by jukkis
Had huge troubles getting the soap interface to function, I kept receiving the error "The AXIS engine could not find a target service to invoke! targetService is null" -- after hours of googling and finally playing around with wsdl namespace definitions, I got the webservice to work by creating the wsdl as follows:

Code: Select all

./EmmCreateWSDL.sh -o ws.wsdl -l "http://localhost:8080/emm_webservice" -n "urn:agnitas-webservice" -w ALL org.agnitas.webservice.EmmWebService_Port
instead of the instructed
./EmmCreateWSDL.sh -o ws.wsdl -l "http://localhost:8080/emm_webservice" -n "http://localhost:8080/emm_webservice" -w ALL org.agnitas.webservice.EmmWebService_Port

Posted: Mon Dec 17, 2007 10:50 pm
by maschoff
Yes, "urn:agnitas-webservice" is the generic placeholder for the real webservices URL - which depends on your implementation. But we should make this clear in the documentation - thanks for pointing this out!

Posted: Tue Dec 18, 2007 10:08 am
by maschoff
I just checked our documentation at http://www.openemm.org/fileadmin/docs/O ... ices10.pdf

and as far as I can see your suggestion is already included (first page, last paragraph above the table).

If you think we could further clarify this isue please suggest what we should add. Thank you!

Posted: Tue Dec 18, 2007 12:10 pm
by jukkis
ma wrote:I just checked our documentation at http://www.openemm.org/fileadmin/docs/O ... ices10.pdf

and as far as I can see your suggestion is already included (first page, last paragraph above the table).
This paragraph instructs (at least in 2007-11-15 -version of the pdf ) that you should create the wsdl using the flag

Code: Select all

 -n "http://localhost:8080/emm_webservice" 
when it should actually say

Code: Select all

 -n "urn:agnitas-webservice"
As stated in the first post of this thread.

Posted: Tue Dec 18, 2007 1:11 pm
by maschoff
Ok, got it. Thanks!