Hi, I am trying to generate a XML document using Jibx, preferable something like this,
<soapenv:Envelope xmlns:q0="http://www.crsoftwareinc.com/xml/ns/telecom/common_types" xmlns:q1="http://www.crsoftwareinc.com/xml/ns/telecom/agent_request_v1_0" 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> <q1:AgentLoginRequestWrap> <q0:system>DM3</q0:system> <q0:campaign>PERSONAL</q0:campaign> <q0:extension>7010020001</q0:extension> <q0:mode>out</q0:mode> <q0:station>uniqueId</q0:station> </q1:AgentLoginRequestWrap> </soapenv:Body> </soapenv:Envelope> But I was not able to come up with a correct binding, the closest I can come up is, but the XML file generated didn't have q1 as the prefix. Anybody can help me on this ? I need it urgently ... Thanks John <mapping name="AgentLoginRequestWrap" class="com.crsoftwareinc.crs.dialer.dto.AgentLoginRequestWrapDTO"> <namespace prefix="q0" uri="http://www.crsoftwareinc.com/xml/ns/telecom/agent_request_v1_0" default="elements" /> <structure field="loginRequest" type="com.crsoftwareinc.crs.dialer.dto.AgentLoginRequestDTO"> </structure> </mapping> <mapping class="com.crsoftwareinc.crs.dialer.dto.AgentLoginRequestDTO" abstract="true"> <namespace prefix="q1" uri="http://www.crsoftwareinc.com/xml/ns/telecom/common_types" default="elements" /> <value name="system" field="system" /> <value name="campaign" field="campaign" /> <value name="extension" field="extension" /> <value name="mode" field="mode" serializer="com.crsoftwareinc.crs.dialer.dto.DialerUsageReference.toString" deserializer="com.crsoftwareinc.crs.dialer.dto.DialerUsageReference.fromString" /> <value name="station" field="station" /> </mapping> __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users