Hi, $subject ?
Due to the hierarchical service deployment model of our products, a service can be deployed in a context such as "foo/bar". Then that "foo/bar" can be seen in the WSDL2.0 as the service name [1]. For the External Tryit, we need to create an Axis2 service from a given WSDL 2.0 document(using WSDL20ToAxisServiceBuilder.java). So when we try to build a service from a wsdl like [1], then an exception is thrown saying foo/bar does not represent a valid NCName. Further, in Mashup Server, each service is deployed under the context of mashup author (i.e admin/digit2image, adimin/RESTSample.). Is this is a bug in woden or do we need to avoid having "/" in service name? [1] http://appserver.cloud.wso2.com/services/t/ruchira.com/admin/HelloService?wsdl2 [2] Caused by: java.lang.IllegalArgumentException: The string "admin/foo" does not represent a valid NCName. at org.apache.woden.types.NCName.setValue(NCName.java:70) at org.apache.woden.types.NCName.<init>(NCName.java:56) at org.apache.woden.internal.BaseWSDLReader.parseService(BaseWSDLReader.java:1400) at org.apache.woden.internal.BaseWSDLReader.parseDescription(BaseWSDLReader.java:441) at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:185) at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:158) at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.readInTheWSDLFile(WSDL20ToAxisServiceBuilder.java:1225) at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.readInTheWSDLFile(WSDL20ToAxisServiceBuilder.java:1196) at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.setup(WSDL20ToAxisServiceBuilder.java:477) Thanks, Ruchira
_______________________________________________ Carbon-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
