Hi sergey, I have another issue , how can we customize
<xs:import namespace=""/> and prefix1: in the following wadl cxf version 2.2.8 java 5 jdk 1.5 jboss 4.x <application> − <grammars> − <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://api.service.apiccmd.emailvision.com/"> <xs:import namespace=""/> <xs:element name="RequestWrapper" type="requestWrapper"/> </xs:schema> − <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified"> − <xs:complexType name="requestWrapper"> − <xs:sequence> − <xs:element minOccurs="0" name="theList"> − <xs:complexType> − <xs:sequence> <xs:element maxOccurs="unbounded" minOccurs="0" name="listItem" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element minOccurs="0" name="theRequest" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:schema> </grammars> − <resources base="http://localhost:8080/apiccmd/services/restFull"> − <resource path="/luckynumbers"> − <resource path="/addRequest"> − <method name="POST"> − <request> <representation mediaType="application/xml" element="prefix1:RequestWrapper"/> <representation mediaType="application/json"/> </request> − <response> <representation mediaType="application/xml"/> <representation mediaType="application/json"/> </response> </method> </resource> − <resource path="/getSum/{arg0}/{arg1}"> − <method name="GET"> − <request> </request> − <response> <representation mediaType="application/xml"/> <representation mediaType="application/json"/> </response> </method> </resource> − <resource path="/getWADL"> − <method name="PUT"> − <request> <representation mediaType="application/xml" element="prefix1:RequestWrapper"/> <representation mediaType="application/json"/> </request> − <response> <representation mediaType="application/xml"/> <representation mediaType="application/json"/> </response> </method> </resource> </resource> </resources> </application> thnaks, -- View this message in context: http://cxf.547215.n5.nabble.com/How-to-get-the-header-info-from-the-request-tp4421377p4422442.html Sent from the cxf-user mailing list archive at Nabble.com.
