axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kinichiro Inoguchi <ingc1...@yahoo.com>
Subject Re: [axis 2] services.xml files
Date Mon, 10 Jul 2006 15:59:32 GMT
Hi, Brian.

You can add this line in your services.xml,
<schema schemaNamespace="http://as.you.like"/>

http://ws.apache.org/axis2/1_0/axis2config.html#Service_Configuration

Regards,
kinichiro

--- "Brian Dillon (ext. 944)" <Brian.Dillon@FINEOS.com> wrote:

> Hi,
> 
> I have just started looking at moving from Axis 1.3 to Axis 2 and
> have a
> couple of short questions. Firstly is there anywhere that describes
> the
> services.xml files and the parameters and options associated with
> this file
> (I can't see where the xsd might be) ? Secondly I have written a very
> basic
> service which takes a string and returns a string, however my when I
> click
> on the ?wsdl on the services page see the target namespaces as
> http:///xsd
> <http:///xsd> 
> 
> <xs:schema xmlns:ns="http:///xsd" targetNamespace="http:///xsd"
> elementFormDefault="unqualified" attributeFormDefault="unqualified">
> 
> Then in order to invoke my client I must use the following
> 
> 			OMNamespace omNs =
> fac.createOMNamespace("http:///xsd","nsx");
> 			OMElement method =
> fac.createOMElement("sendStringRoundtrip",omNs);
> 
> Is there anyway of changing this namespace ?
> 
> Thanks,
> 
> Brian
> 
> __________________________________________________________
> The information contained in this e-mail is confidential, may be
> privileged and is intended 
> only for the user of the recipient named above. If you are not the
> intended recipient or a 
> representative of the intended recipient, you have received this
> e-mail in error and must 
> not copy, use or disclose the contents of this e-mail to anybody
> else.  
> 
> If you have received this e-mail in error, please notify the sender
> immediately by return 
> e-mail and permanently delete the copy you received.  This e-mail has
> been swept for 
> computer viruses. However, you should carry out your own virus
> checks. 
> Registered in Ireland, No. 205721.  http://www.FINEOS.com
> __________________________________________________________
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message