axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nair Kumar" <Nandakumar.N...@phs.com>
Subject RE: EchoAtttachment sample
Date Wed, 25 Feb 2004 17:49:44 GMT
Luciano,

My understanding was that axis generates the wsdl automatically when viewed
from the browser using the url.

Am I missing something ?

-thanks,
  Kumar

> -----Original Message-----
> From:	luciano.fiandesio@ecb.int [SMTP:luciano.fiandesio@ecb.int]
> Sent:	Wednesday, February 25, 2004 12:11 AM
> To:	axis-user@ws.apache.org
> Subject:	RE: EchoAtttachment sample
> 
> Hi Nair, 
> I managed to run the sample. 
> You should carefully read the readme file inside the /samples/attachments
> folder 
> (expecially the CLASSPATH part). 
> The wsdl is missing from the folder and therefore it cannot be deployed 
> on the server. This is why you get that error. Remember that in 
> order to deploy a webservice you need at least the WSDD but not the 
> WSDL. 
> You can try to generate the WSDL against the EchoAttachmentService class. 
> 
> Luciano 
> 
> -----Original Message----- 
> From: Nair Kumar [ <mailto:Nandakumar.Nair@phs.com>] 
> Sent: Wednesday 25 February 2004 07:03 
> To: axis-user@ws.apache.org 
> Subject: EchoAtttachment sample 
> 
> 
> Has anyone tried the EchoAttachment sample under the samples folder of 
> axis1.1? 
> 
> After I deploy this sample, when I try to view the corresponding wsdl from
> 
> the browser using the url 
> " <http://localhost:8080/axis/services/urn:EchoAttachmentsService?wsdl>"  
> 
> I get the error  
> 
> Fault - ; nested exception is: WSDLException: faultCode=OTHER_ERROR: 
> Can&apos;t find prefix for &apos;urn:ClaimStatus&apos;. Namespace prefixes
> 
> must be set on the Definition object using the addNamespace(...) method.: 
> AxisFault faultCode: 
> { <http://schemas.xmlsoap.org/soap/envelope/>}Server.userException 
> faultSubcode: faultString: WSDLException: faultCode=OTHER_ERROR:
> Can&apos;t 
> find prefix for &apos;urn:ClaimStatus&apos;. Namespace prefixes must be
> set 
> on the Definition object using the addNamespace(...) method.: faultActor: 
> faultNode: faultDetail: 
> 
> 
> Has anyone tried this sample? Also has anyone tried to generate the wsdl 
> from the browser? 
> 
> Any help would be appreciated. 
> 
> -thanks, 
>   Kumar 
> 
> 
> This electronic message transmission, including any attachments, contains 
> information from PacifiCare Health Systems Inc. which may be confidential
> or 
> privileged. The information is intended to be for the use of the
> individual or 
> entity named above. If you are not the intended recipient, be aware that
> any 
> disclosure, copying, distribution or use of the contents of this
> information 
> is prohibited.  
> If you have received this electronic transmission in error, please notify
> the 
> sender immediately by a "reply to sender only" message and destroy all 
> electronic and hard copies of the communication, including attachments. 
> 
> 
>  
> 
> Any e-mail message from the European Central Bank (ECB) is sent in good
> faith but shall neither be binding nor construed as constituting a
> commitment by the ECB except where provided for in a written agreement.
> This e-mail is intended only for the use of the recipient(s) named above.
> Any unauthorised disclosure, use or dissemination, either in whole or in
> part, is prohibited.
> If you have received this e-mail in error, please notify the sender
> immediately via e-mail and delete this e-mail from your system.
> 
> 

This electronic message transmission, including any attachments, contains
information from PacifiCare Health Systems Inc. which may be confidential or
privileged. The information is intended to be for the use of the individual or
entity named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this information
is prohibited.  
If you have received this electronic transmission in error, please notify the
sender immediately by a "reply to sender only" message and destroy all
electronic and hard copies of the communication, including attachments.



Mime
View raw message