You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ravi <ra...@ahika.com> on 2003/10/25 01:25:26 UTC

Axis EchoAttachmentService and gSoap Client

Hi All,

I am trying to build a C++ Client for Apaches Sample EchoAttachment Service.

1.I am not able to generate dynamic WSDL using
 the EchoAttachmentService http://localhost:8080/axis/services/urn:EchoAttachmentsService?wsdl 
This gives me 
WSDLException: faultCode=OTHER_ERROR: Can&apos;t find prefix for &apos;urn:EchoAttachmentsService&apos;. Namespace prefixes must be set on the Definition object using the addNamespace(...) method.: 

2. After generating the WSDl using java org.apac
he.axis.wsdl.Java2WSDL -o EchoAttachment.wsdl -l"http://localhost:8080/axis/serv
ices/urn:EchoAttachmentsService" -n"urn:EchoAttachmentsService" -m"echo" samples
.attachments.EchoAttachmentsService

and using WSDImporter and soapcpp2 utilities I have generated the C++ client.
But it doesn't look like its a SwA clients.

Can anybody help on this?

Regards,
Ravi.