16 years ago
how to remove "wadl:" prefix in POST request output
Could you help me with one question,
I have the following XSD
and the wadl:
And in soapUI Pro (3.6.1) I got the next output:
<sis:user xmlns:wadl="http://localhost/wadl"><login>45</login><password>35353</password></sis:user>
How can I get output without "sis:" prefix as below?
<user xmlns:wadl="http://localhost/wadl"><login>45</login><password>35353</password></:user>
I've tried to set elementFormDefault="qualified" but got worse result with prefix "sis:" for all entities (i.e login and password)
Very appreciate your help.
I have the following XSD
<?xml version="1.0" encoding="utf-8"?>
<schema
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://localhost/wadl"
xmlns:tns="http://localhost/wadl"
elementFormDefault="unqualified" >
<element name="user" minOccurs="0">
<complexType>
<all minOccurs="1">
<element name="login" type="string" />
<element name="password" type="string" />
</all>
</complexType>
</element>
</schema>
and the wadl:
<?xml version="1.0"?>
<application
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://research.sun.com/wadl/2006/10 wadl.xsd
http://localhost/wadl sis.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:sis="http://localhost/wadl"
xmlns="http://research.sun.com/wadl/2006/10" >
<grammars>
<include href="sis.xsd"/>
</grammars>
<resources base="http://192.168.10.139">
<resource path="/user/sign_in">
<method name="POST" id="Authentication">
<request>
<representation mediaType="application/xml" element="sis:user"/>
</request>
<response status="201">
<representation mediaType="application/xml" element="sis:user"/>
<fault status="401" />
</response>
</method>
</resource>
</resources>
</application>
And in soapUI Pro (3.6.1) I got the next output:
<sis:user xmlns:wadl="http://localhost/wadl"><login>45</login><password>35353</password></sis:user>
How can I get output without "sis:" prefix as below?
<user xmlns:wadl="http://localhost/wadl"><login>45</login><password>35353</password></:user>
I've tried to set elementFormDefault="qualified" but got worse result with prefix "sis:" for all entities (i.e login and password)
Very appreciate your help.