![]() |
![]() | New Server - Want to refer to external xsd file. | ![]() |
![]() |
![]() | ![]() |
Site Admin
![]() |
![]() |
well, all your points look resonable but I'm not sure I got this:
complexTypes are for building WSDL on the fly. Seems your infrastructure does not "like" this ![]() So, you may write the WSDL yourself according to the rules and respond this file when asked with ?wsdl in the URL (it's just a rough idea, I did not check) Finally, you can insert DebugBreak() and check how nusoap handles the requests in the debugger (say PhpED IDE) |
|||||||||||||
_________________ The PHP IDE team
|
![]() |
![]() | ![]() |
![]() |
![]() |
Hi Dmitri.
Yes, I guest my language was wrong. Here's a fragment I have already defined in an external XSD file.... <element name="registerRequest"> <complexType> <sequence> <element ref="ItemRequestInfo"> </sequence> </complexType> </element> <element name="ItemRequestInfo"> <complexType> <sequence> <element name="Item" type="ItemType"> </sequence> </complexType> </element> <complexType name="ItemType"> <sequence> <element name="arg1" type="string"> <element name="arg2" type="string"> <element name="arg3" type="string"> </sequence> </complexType> So you can see that there are a mixture of elements created by name, and some complexTypes also defined. And in my nusoap server definition // wsdl I want to effectively get the following output... .... <message name="DoRegisterRequest"> <part name="DoRegisterRequest" ref="ext:registerRequest"> </message> Note that the 2nd "argument" to the part directive is ref=[/] rather than the more usual [b]type=. I believe that if nusoap could accept ref arguments then I would be able to successfully achieve what I need to achieve. Does anyone have any thoughts on this? -- Dave. |
|||||||||||
|
![]() |
![]() | New Server - Want to refer to external xsd file. | ![]() |
|
|||
![]() |
![]() |
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
