You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Dilshener Tezcan (extern HVB IS - UniCredit Group)" <te...@unicreditgroup.de> on 2008/09/17 17:37:30 UTC

Part 'fault' of fault message must be defined with 'element=QName' and not 'type=QName'

Hi all,
I am trying to generate Axis2 java proxies using the org.apache.axis2.wsdl.WSDL2Java and getting the following error from 

[ERROR] Part 'fault' of fault message '{http://10.56.7.102.:9081/wfmq_services/services/AODServices}WfMqWorkflowServiceSOAPException' 
must be defined with 'element=QName' and not 'type=QName'

The wsdl is from an earlier version of the axis framework which is productive and we are in the process of migrating to axis2.
Searching in internet I found the following JIRA http://jira.atlassian.com/browse/JRA-12152
which tells me that "Fault error is to do with RPC style, that must be document/literal." 

So having change my <wsdlsoap:binding style= to "document",  gives me the following error.
": No element type is defined for message"
This means that the wsdl:part should point to an element instead of type

Hmmmm... looks like I am running in circles in here.
1-)Does this mean I have to change the WDL completely to conform to Axis2?
2-)Can I access axis1 webservice from axis2 webservice?
3-)has anyone experienced similar problems?
4-)Can you help me further?

Many thanks in advance

Tezcan Dilshener 
Satz Software & Consulting GmbH

HVB Information Services GmbH
Member of UniCredit Group 
HII3ES Development Services Client Server 
Am Tucherpark 12 
D-80538 München 

Tel: +49 89 378-26378 
mailto:Tezcan.Dilshener.extern@hvbis.com 
http://www.hvbis.com 

The legal obligation information of HVB Information Services GmbH can be found at: http://www.hvbis.com/is/de/pub/441.htm
Die gesetzlichen Pflichtangaben zur HVB Information Services GmbH finden Sie unter: http://www.hvbis.com/is/de/pub/441.htm

Important Note: 
This e-mail is only intended for the person or company/organisation named as recipient. It may contain trade secrets or undisclosed and
confidential information or information otherwise protected by work-product immunity or other legal regulations. If you have received this email by mistake, we kindly ask you not to copy this message or use it for any purpose nor disclose its contents to any other person. Please inform us immediately and delete the original document. In addition, please let us know if you or your company object to receiving e-mails for messages of this kind. 

Wichtiger Hinweis: 
Diese E-Mail ist nur für die Person oder die Firma/Organisation bestimmt, die in der Empfängeradresse benannt ist und enthält u. U. Geschäftsgeheimnisse oder vertrauliche Informationen, die dem Schutz von Arbeitsergebnissen unterliegen oder sonst rechtlich geschützt sind. Wenn Sie nicht der angegebene Empfänger sind, bitten wir Sie, uns unverzüglich zu informieren und diese Nachricht zu vernichten und sie insbesondere nicht zu kopieren oder sie für irgendwelche anderen Zwecke zu verwenden, noch den Inhalt dieser Nachricht dritten Personen zugänglich zu machen. Bitte informieren Sie uns auch unverzüglich, wenn Sie oder Ihr Arbeitgeber nicht mit E-Mail Nachrichten dieser Art einverstanden sein sollten.