Hi all, This is my first post to the issues, I am trying to generate wsdltoJava from below wsdl, trying to use jibx data binding....
I am getting the following error.... Oct 14, 2011 12:02:05 PM org.apache.cxf.jibx.tools.JibxToolingProblemHandler handleWarning [*java*] WARNING: No schema loaded for customization with name file:/C:/Documents%20and%20Settings/fc99toy/IBM/rationalsdp/workspace/RetryControllerJIBXLatest/schemas/BenefitService_VTC_to_ESB.wsdl# http://claims.fepoc.com/benefitservice/exception for SchemaCustom at (source unknown) [*java*] Oct 14, 2011 12:02:05 PM org.apache.cxf.jibx.tools.JibxToolingProblemHandler handleWarning [*java*] WARNING: No schema loaded for customization with name file:/C:/Documents%20and%20Settings/fc99toy/IBM/rationalsdp/workspace/RetryControllerJIBXLatest/schemas/BenefitService_VTC_to_ESB.wsdl# http://claims.fepoc.com/benefitservice/vtc/response for SchemaCustom at (source unknown) [*java*] Oct 14, 2011 12:02:05 PM org.apache.cxf.jibx.tools.JibxToolingProblemHandler handleWarning [*java*] WARNING: No schema loaded for customization with name file:/C:/Documents%20and%20Settings/fc99toy/IBM/rationalsdp/workspace/RetryControllerJIBXLatest/schemas/BenefitService_VTC_to_ESB.wsdl for SchemaCustom at (source unknown) [*java*] Oct 14, 2011 12:02:05 PM org.apache.cxf.jibx.tools.JibxToolingProblemHandler report [*java*] INFO: Loaded and validated 3 specified schema(s) [*java*] Oct 14, 2011 12:02:05 PM org.apache.cxf.jibx.tools.JibxToolingProblemHandler report [*java*] INFO: Generated 1 top-level classes (plus 2 inner classes) in package com.fepoc.claims.benefitservice.vtc.request [*java*] Oct 14, 2011 12:02:05 PM org.apache.cxf.jibx.tools.JibxToolingProblemHandler report [*java*] INFO: Generated 1 top-level classes in package com.fepoc.claims.benefitservice.vtc.response [*java*] Oct 14, 2011 12:02:05 PM org.apache.cxf.jibx.tools.JibxToolingProblemHandler report [*java*] INFO: Generated 1 top-level classes in package com.fepoc.claims.benefitservice.exception [*java*] Oct 14, 2011 12:02:05 PM org.apache.cxf.jibx.tools.JibxToolingProblemHandler report [*java*] INFO: Total top-level classes in model: 3 [*java*] Oct 14, 2011 12:02:05 PM org.apache.cxf.jibx.tools.JibxToolingProblemHandler report [*java*] INFO: Total classes (including inner classes) in model: 5 [*java*] WSDLToJava Error: Failed to create java parameter for part [parameter] in method [executeClaimBenefitService] - this wsdl is invalid, please use the wsdlvalidator tool to validate this wsdl [*java*] *org.apache.cxf.tools.common.ToolException*: Failed to create java parameter for part [parameter] in method [executeClaimBenefitService] - this wsdl is invalid, please use the wsdlvalidator tool to validate this wsdl [*java*] at org.apache.cxf.tools.common.model.JavaMethod.addParameter(* JavaMethod.java:186*) [*java*] at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.ParameterProcessor.addParameter( *ParameterProcessor.java:129*) [*java*] at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.ParameterProcessor.processInput( *ParameterProcessor.java:227*) [*java*] at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.ParameterProcessor.buildParamModelsWithoutOrdering( *ParameterProcessor.java:655*) [*java*] at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.ParameterProcessor.process( *ParameterProcessor.java:87*) [*java*] at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.OperationProcessor.processMethod( *OperationProcessor.java:141*) [*java*] at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.OperationProcessor.process( *OperationProcessor.java:62*) [*java*] at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.internal.PortTypeProcessor.process( *PortTypeProcessor.java:149*) [*java*] at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.WSDLToJavaProcessor.wsdlDefinitionToJavaModel( *WSDLToJavaProcessor.java:88*) [*java*] at org.apache.cxf.tools.wsdlto.frontend.jaxws.processor.WSDLToJavaProcessor.process( *WSDLToJavaProcessor.java:60*) [*java*] at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(* WSDLToJavaContainer.java:253*) [*java*] at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(* WSDLToJavaContainer.java:138*) [*java*] at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(* WSDLToJavaContainer.java:286*) [*java*] at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(* ToolRunner.java:103*) [*java*] at org.apache.cxf.tools.wsdlto.WSDLToJava.run(*WSDLToJava.java:113* ) [*java*] at org.apache.cxf.tools.wsdlto.WSDLToJava.run(*WSDLToJava.java:86*) [*java*] at org.apache.cxf.tools.wsdlto.WSDLToJava.main(*WSDLToJava.java:184 *) Please help in the resolution..... Thanks Venkat garlapati
<?xml version="1.0" encoding="UTF-8"?> <!-- edited with XMLSpy v2011 rel. 2 (http://www.altova.com) by Anil (CAREFIRST) --> <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://claims.fepoc.com/benefitservice" xmlns:req="http://claims.fepoc.com/benefitservice/vtc/request" xmlns:err="http://claims.fepoc.com/benefitservice/exception" xmlns:res="http://claims.fepoc.com/benefitservice/vtc/response" targetNamespace="http://claims.fepoc.com/benefitservice"> <wsdl:types> <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema" targetNamespace="http://claims.fepoc.com/benefitservice/vtc/request" elementFormDefault="qualified"> <element name="BenefitServiceVTCRequest"> <annotation> <documentation>Claim Benefit Service Request </documentation> </annotation> <complexType> <sequence> <element name="Header"> <complexType> <sequence> <element name="ClientContext"> <annotation> <documentation>Unique Identifier for the transaction.VTC generates this with Transaction Id and Timestamp </documentation> </annotation> <simpleType> <restriction base="string"> <length value="37"/> </restriction> </simpleType> </element> <element name="BillType"> <annotation> <documentation>Determines type of Claim. Valid values I-Inpatient,O-OutPatient, P-Professional</documentation> </annotation> <simpleType> <restriction base="string"> <enumeration value="I"/> <enumeration value="P"/> <enumeration value="O"/> </restriction> </simpleType> </element> <element name="ProcessDate"> <annotation> <documentation>Used to apply business rules based on Claim Process Date</documentation> </annotation> <simpleType> <restriction base="string"> <length value="8"/> </restriction> </simpleType> </element> <element name="NumOfChgLines"> <annotation> <documentation>Total number of Chargelines</documentation> </annotation> <simpleType> <restriction base="xs:int"> <totalDigits value="3"/> </restriction> </simpleType> </element> <element name="Operations"> <annotation> <documentation>Operations Requested</documentation> </annotation> <complexType> <sequence> <element name="OperationName" maxOccurs="3"> <annotation> <documentation>Operation to perform on this claim request.Valid values are 'GetServiceId','GetTypeOfSvc', and 'GetCodeGroup'</documentation> </annotation> <simpleType> <restriction base="string"> <length value="12"/> <enumeration value="GetServiceId"/> <enumeration value="GetTypeOfSvc"/> <enumeration value="GetCodeGroup"/> </restriction> </simpleType> </element> </sequence> </complexType> </element> </sequence> </complexType> </element> <element name="ServiceRequest"> <annotation> <documentation>Service Request has the list of chargelines for the claim benefit request.</documentation> </annotation> <complexType> <sequence> <element name="FCRreq" maxOccurs="999"> <annotation> <documentation>Each Chargeline length should be 5000 bytes and upto 999 chargelines are allowed per claim</documentation> </annotation> <simpleType> <restriction base="string"> <length value="5000"/> <whiteSpace value="preserve"/> </restriction> </simpleType> </element> </sequence> </complexType> </element> </sequence> </complexType> </element> </schema> <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema" targetNamespace="http://claims.fepoc.com/benefitservice/vtc/response" elementFormDefault="qualified"> <element name="BenefitServiceVTCResponse"> <annotation> <documentation>ClaimBenefitServiceResponse </documentation> </annotation> <complexType> <sequence> <element name="ClientContext"> <annotation> <documentation>Unique Identifier for the transaction,used to co-relate the request/response and for logging</documentation> </annotation> <simpleType> <restriction base="string"> <length value="37"/> </restriction> </simpleType> </element> <element name="ServiceResponse"> <annotation> <documentation>Service Response has the list of chargelines for the claim benefit request</documentation> </annotation> <complexType> <sequence> <element name="FCRres" maxOccurs="999"> <annotation> <documentation>Each Chargeline length should be 5000 bytes and upto 999 chargelines are allowed per claim</documentation> </annotation> <simpleType> <restriction base="xs:string"> <length value="5000"/> <whiteSpace value="preserve"/> </restriction> </simpleType> </element> </sequence> </complexType> </element> </sequence> </complexType> </element> </schema> <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema" targetNamespace="http://claims.fepoc.com/benefitservice/exception" elementFormDefault="qualified"> <element name="BenefitServiceVTCException"> <annotation> <documentation>ClaimBenefitServiceException</documentation> </annotation> <complexType> <sequence> <element name="ClientContext"> <annotation> <documentation>Unique Identifier for the Transaction</documentation> </annotation> <simpleType> <restriction base="string"> <length value="37"/> </restriction> </simpleType> </element> <element name="FaultCd"> <annotation> <documentation>Three digit Fault Code</documentation> </annotation> <simpleType> <restriction base="int"> <totalDigits value="3"/> </restriction> </simpleType> </element> <element name="FaultDescription"> <annotation> <documentation>Fault Description</documentation> </annotation> <simpleType> <restriction base="string"> <maxLength value="100"/> </restriction> </simpleType> </element> </sequence> </complexType> </element> </schema> </wsdl:types> <wsdl:message name="BenefitServiceRequest"> <wsdl:part name="parameter" element="req:BenefitServiceVTCRequest"/> </wsdl:message> <wsdl:message name="BenefitServiceResponse"> <wsdl:part name="parameter" element="res:BenefitServiceVTCResponse"/> </wsdl:message> <wsdl:message name="BenefitServiceFault"> <wsdl:part name="fault" element="err:BenefitServiceVTCException"/> </wsdl:message> <wsdl:portType name="BenefitService"> <wsdl:operation name="executeClaimBenefitService"> <wsdl:input message="tns:BenefitServiceRequest"/> <wsdl:output message="tns:BenefitServiceResponse"/> <wsdl:fault name="BenefitServiceFault" message="tns:BenefitServiceFault"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="BenefitServiceBinding" type="tns:BenefitService"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="executeClaimBenefitService"> <soap:operation soapAction="executeClaimBenefitService" /> <wsdl:input > <soap:body use="literal"/> </wsdl:input> <wsdl:output> <soap:body use="literal"/> </wsdl:output> <wsdl:fault name="BenefitServiceFault"> <soap:fault name="BenefitServiceFault" use="literal"/> </wsdl:fault> </wsdl:operation> </wsdl:binding> <wsdl:service name="BenefitServiceService"> <wsdl:port name="BenefitService" binding="tns:BenefitServiceBinding"> <soap:address location="http://fepdpe0d1.fepoc.com:2059/claims/benefitservice"/> </wsdl:port> </wsdl:service> </wsdl:definitions>
