• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Valid identifiers in WSDL

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI,

Can anyone help on this ?

question is what are the valid identifiers in WSDL or in SOAP specification ?

I had problem in Developing services from WSDL file in METRO WS. it says the could not file the Porttype when deploying. the PortType was TEST_ServerPortType. when I removed "_" its working.

thanks in advance

sathees
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
First of all, WSDL is defined using XML, so there is a XML schema that defines the format of a valid WSDL document, including PortType names.
The XML schema defining WSDL 1.2 can be found at: http://schemas.xmlsoap.org/wsdl/
If we look at the schema, we can see that the name attribute in a PortType element is of the type xs:NCName.
The NCName type is defined as a name that is not specified with a namespace prefix.
http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#NCName
The definition of NCName looks like this: http://books.xmlschemata.org/relaxng/ch19-77215.html
Etc etc.
Using the above reasoning, you can examine what the allowed values are in the different parts of a WSDL.

HOWEVER:
I strongly suspect that this is not a problem with the WSDL, but rather a problem with the web service stack you are using not being able to support a name that may be allowed by the WSDL definition.
Best wishes!
 
Sathees sam
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you Ivan for your valuable reply. It conformed my doubt that "_" in identifier would be problem with METRO WS framework.
 
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic