axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jhan Yuler (JIRA)" <>
Subject [jira] Created: (AXIS2-1739) bad Stub.getElement(...). and DependencyManager.configureBusinessLogicProvider(...) methods call generation
Date Fri, 17 Nov 2006 16:20:38 GMT
bad Stub.getElement(...). and DependencyManager.configureBusinessLogicProvider(...) methods
call generation

                 Key: AXIS2-1739
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.1
            Reporter: Jhan Yuler

I've used wsdl2java tool with jibx binding. The code generated have two bugs.

1) In the xxxxxStub generated class the tool generates a code like

 java.lang.Object object = fromOM(

bug: the method getElement(..) does not exist in the Axis2 1.1

2) In the xxxxxxMessageReceiverInOut generated class the tool generates a code like 

 //Inject the Message Context if it is asked for
        org.apache.axis2.engine.DependencyManager.configureBusinessLogicProvider(obj, msgContext.getOperationContext());

bug: the class DependencyManager has not the configureBusinessLogicProvider method

This is the command line
F:\tmp\axis2-1.1\bin\wsdl2java -o wssrc -s -p com.somedomain.something.webservices -ss -sd
-d jibx -g -ns2p
-uri wsworkflow.wsdl -Ebindingfile binding.xml

Note: The environment variable CLASSPATH is not seted

This is the WSDL 
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="" xmlns:soap=""
xmlns:http="" xmlns:xs=""
xmlns:soapenc="" xmlns:mime=""
xmlns:bs="" xmlns:tns=""
targetNamespace="" name="WSWorkflow">
		<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="">
	<xs:element name="consultaCliente">
				<xs:element name="tipoDocumento" type="xs:string"/>
				<xs:element name="numeroDocumento" type="xs:string"/>
	<xs:element name="respuestaConsultaCliente">
				<xs:element name="codigoRta" type="xs:string"/>
				<xs:element name="mensajeRta" type="xs:string"/>
	<message name="ConsultaCliente">
		<part name="parameters" element="tns:consultaCliente"/>
	<message name="RespuestaConsultaCliente">
		<part name="parameters" element="tns:respuestaConsultaCliente"/>
	<portType name="WSWorkflowSOAP">
		<operation name="consultarCliente">
			<input message="tns:ConsultaCliente"/>
			<output message="tns:RespuestaConsultaCliente"/>
	<binding name="WSWorkflowSOAP" type="tns:WSWorkflowSOAP">
		<soap:binding style="document" transport=""/>
		<operation name="consultarCliente">
			<soap:operation soapAction="" style="document"/>
				<soap:body use="literal"/>
				<soap:body use="literal"/>
	<service name="WSWorkflow">
		<port name="WSWorkflowSOAP" binding="tns:WSWorkflowSOAP">
			<soap:address location="http://localhost:8888/axis2/services/WSWorkflow"/>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message