axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miha Vitorovic <>
Subject Send "raw" message
Date Mon, 13 Jul 2009 12:54:37 GMT
Hi all, 

While I understand that the point of AXIS is to remove the need for 
generating raw XML, I would still like to know if it is possible to do 
something similar to that.

Why? Well, my deadline is approaching, and if I don't solve the problems 
I'm facing, I'd like to use the option as a workaround.

And now the problem: I'm integrating our in-house system with MS Dynamics 
CRM 4.0, and it's giving problems that I am unable to solve with my 
limited knowledge of WSDL and WebSevices. I have two messages. They both 
look the same (well not THE SAME, but equivalent) to me, but the server 

The one that is not working (generated by axis code):

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="
" xmlns:xsd="" xmlns:xsi="">
    <CrmAuthenticationToken soapenv:actor="" soapenv:mustUnderstand="0" 
      <AuthenticationType xmlns="">0</AuthenticationType>
      <OrganizationName xmlns="">Test</OrganizationName>
      <CallerId xmlns="
    <Execute xmlns="">
      <Request xsi:type="ns1:CancelSalesOrderRequest" xmlns:ns1="">
        <ns1:OptionalParameters xsi:type="ns1:OptionalParameter"/>
        <ns1:OrderClose xsi:type="ns1:orderclose">
          <ns1:salesorderid name="salesorder" dsc="0" IsNull="false" 
xsi:type="ns2:Lookup" xmlns:ns2="
        <ns1:Status xsi:type="xsd:int">-1</ns1:Status>

The working one:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="" 
xmlns:xsi="" xmlns:xsd="">
    <CrmAuthenticationToken xmlns="">
      <AuthenticationType xmlns="">0</AuthenticationType>
      <OrganizationName xmlns="">Test</OrganizationName>
      <CallerId xmlns="
    <Execute xmlns="">
      <Request xsi:type="CancelSalesOrderRequest">
        <OrderClose xsi:type="orderclose">

So, can anyone help, either by making the generated request work (point 
out what seems to be the problem), or by telling me how to use the 
framework to send an XML generated by hand?

Thanks in advance and best regards,
  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer

   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501
View raw message