axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Melamud, Mikhail" <Mikhail.Mela...@ca.com>
Subject RE: Web service name syntax
Date Fri, 23 Aug 2002 16:16:20 GMT
Why one wouldn't if it's allowed?
You probably missed it in my e-mail - I've tried /somehost/somecontext/h%25?wsdl
and here what I've got:

	HTTP 400 - Bad Request
	Internet Explorer 
URL /somehost/somecontext/h%26?wsdl -  (escaped version of h&) works perfectly well

So, something happening on HTTP level or may be IE doesn't like it some how - I'm not sure.
What I know for sure is that my servlet's doGet() does not get called on such url at all.

It would be great, if someone could direct me to a standard on Web service names, so I could
actually forbid entering particular chars based on it in my app. In Axis wsdd WS name is an
XML attribute, where such chars (%) are allowed. If it would be an XML element then according
to XML 1.0 (http://www.w3.org/TR/2000/REC-xml-20001006.html) it's not allowed.

Thanks  
Mike


-----Original Message-----
From: Tom Zschaage [mailto:Tom.Zschaage@first.fraunhofer.de] 
Sent: Friday, August 23, 2002 8:14 AM
To: axis-user@xml.apache.org
Subject: AW: Web service name syntax


The % character has a special meaning in URLs therefore it should be escaped try to call this

/somehost/somecontext/h%25?wsdl

the %25 is the escape sequence for %
however why would one use a % in a name?

Tom


-----Urspr√ľngliche Nachricht-----
Von: Melamud, Mikhail [mailto:Mikhail.Melamud@ca.com] 
Gesendet: Donnerstag, 22. August 2002 18:28
An: axis-user@xml.apache.org
Betreff: Web service name syntax


Can web service name contain special characters such as #, %,^, &,\? 
For example, using deployService() method I can create Axis wsdd as
follows: 
<service name="h%" provider="java:RPC">
<parameter name="methodName" value="*"/>
<parameter name="alias" value="h%Service"/>
<parameter name="scope" value="request"/>
<parameter name="className" value="wsbecho.EchoStruct"/> </service>

 but then url /somehost/somecontext/h%?wsdl throws HTTP 400 error 
url /somehost/somecontext/h%25?wsdl would not work either ('%' is encoded here) 
Shouldn't Axis deployService() throw an exception here if it's not valid name? 
Or if it's a valid web service name why my url doesn't generate wsdl? 
Is any standard on What characters are allowed in Web service name? 
Thanks 
Mike 




Mime
View raw message