SOAP Interface: solution for installation trouble

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

jukkis
Posts: 4
Joined: Mon Dec 17, 2007 3:31 pm

SOAP Interface: solution for installation trouble

Post 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
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post 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!
OpenEMM Maintainer
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post 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!
OpenEMM Maintainer
jukkis
Posts: 4
Joined: Mon Dec 17, 2007 3:31 pm

Post 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.
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Ok, got it. Thanks!
OpenEMM Maintainer
Post Reply