Hi,
You can change your wsdl schema part, using
elementFormDefault="unqualified", then it should work.
Freeman
On 2011-1-24, at 下午8:26, amit_ak wrote:
Hi,
We are using CXF for consuming web service. we are getting NULL
response
because of missing URN in response. Problem is with <Row> tag, it
needs to
be <aw:Row> to make integration work.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/
"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<aw:Import
xsi:noNamespaceSchemaLocation="C:\Users\Administrator\Documents\xyz
\PCC_WS_std_out.xsd"
xmlns:aw="http://businessobjects.com/service/RTJob_DMO_PCC_WS_STD/output
">
<Row>
<STREET1>333 N MERIDIAN AVE</STREET1>
<CITY>OKLAHOMA CITY</CITY>
<STATE>OKLAHOMA</STATE>
</Row>
</aw:Import>
</soapenv:Body>
</soapenv:Envelope>
Is there any option avaialble in wsdl2java so that it ignore missing
URN and
it will help us to get proper response.
--
View this message in context:
http://cxf.547215.n5.nabble.com/Null-web-service-Response-tp3354556p3354556.html
Sent from the cxf-user mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
FuseSource: http://fusesource.com
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org