i able to create WSDL also i able to receive file successfully in my local env.
When i put my WSDL in SoapScope or x Ray(Webservice testing tool)
i am received below Error
Invalid schema format: src-resolve.4.2: Error resolving component 'att atahandler'. It was detected that 'att atahandler' is in namespace 'http://www.bea.com/servers/wls90/wsee/attachment', but components from this namespace are not referenceable from schema document. If this is the incorrect namespace, perhaps the prefix of 'att atahandler' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added.
I am not much familiar with Webmethods but I know and I had created webservices in WebMethods using Flow Services and than publishing it as web service. This way WebMethods hides the complexity of Schema / WSDL from the developer.
Thus, what I would like to know is : Did you create the Schema /WSDL in webmethods or did the tool did it on ots own ? My guess would be the later and what I further guess is you just picked up that Schema and / or WSDL and tried it in some other tool. Thats ok, provided you pick up ALL relavant schemas. Just as a Java Class referring some other Java Class in some other library would require the other library to be present as well, I feel you are NOT importing ALL the schemas in your new tool.
Note : I am guessing here based on whatever information you have provided. As a thumb rule, I treat namespace issues in Schemas / wsdl like package issues in Java src code
Hope this helps...
Joined: Jan 15, 2002
Hi Milan Doshi,
Thanks for Reply.
i done this webservice using Weblogic workshop 9.2. when i used datahandler as a parameter in my webmethod in webservice corresponsing schema created atomatically like as below
<?xml version="1.0" encoding="UTF-8"?> <xs:schema targetNamespace="http://www.bea.com/servers/wls90/wsee/attachment" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:complexType name="datahandler"> <xs:annotation> <xs ocumentation>Internal type created by WebLogic - Do not edit!</xs ocumentation> </xs:annotation> </xs:complexType> </xs:schema>
can you please let me know how we import the corrersponding package.