GeeCON Prague 2014*
The moose likes Web Services and the fly likes wsdl parsing exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "wsdl parsing exception" Watch "wsdl parsing exception" New topic
Author

wsdl parsing exception

Vijay Kumar
Ranch Hand

Joined: Jul 24, 2003
Posts: 260
Hi all I am getting exception during parsing wsdl files from Parlay/OSA. I have downloaded wsdl & xsd file form http://www.parlay.org/ files are given below.

parlayx_common_types_2_0.xsd
parlayx_call_notification_types_2_0.xsd
parlayx_common_faults_2_0.wsdl
parlayx_call_notification_interface_2_0.wsdl
parlayx_call_notification_service_2_0.wsdl
I am generating jaav file using thi scommand
<java fork="true" classname="org.apache.axis2.wsdl.WSDL2Java" classpathref="gen.classpath" >
<arg line=" -ss -sd -uri ${wsdlServiceFile} -o ${work.dir}/src -p com.alcatel.ias.vcc.http"/>
</java>
Exception is
generate:
[echo] Temporary directory is created and copy wsdl file
[echo] Copied
[echo] ip/port replace in wsdl file
[echo] src Dir created
[java] Retrieving document at 'parlayx_call_notification_interface_2_0.wsdl
', relative to 'file:/E:/fsswork/vccParlay/vccparlayapp/build/../temp/'.
[java] Retrieving document at 'parlayx_common_faults_2_0.wsdl', relative to
'file:/E:/fsswork/vccParlay/vccparlayapp/temp/parlayx_call_notification_interfa
ce_2_0.wsdl'.
[java] Retrieving schema at 'parlayx_common_types_2_0.xsd', relative to 'fi
le:/E:/fsswork/vccParlay/vccparlayapp/temp/parlayx_common_faults_2_0.wsdl'.
[java] Retrieving schema at 'parlayx_common_types_2_0.xsd', relative to 'fi
le:/E:/fsswork/vccParlay/vccparlayapp/temp/parlayx_call_notification_interface_2
_0.wsdl'.
[java] Retrieving schema at 'parlayx_call_notification_types_2_0.xsd', rela
tive to 'file:/E:/fsswork/vccParlay/vccparlayapp/temp/parlayx_call_notification_
interface_2_0.wsdl'.
[java] Retrieving schema at 'parlayx_common_types_2_0.xsd', relative to 'fi
le:/E:/fsswork/vccParlay/vccparlayapp/temp/parlayx_call_notification_types_2_0.x
sd'.
[java] Exception in thread "main" org.apache.wsdl.impl.WSDLProcessingExcept
ion: Interface/PortType not found for the Binding :{http://www.csapi.org/wsdl/pa
rlayx/call_notification/v2_0/service}CallNotificationBinding
[java] at org.apache.axis2.wsdl.builder.wsdl4j.WSDLPump.populateBinding
s(WSDLPump.java:262)
[java] at org.apache.axis2.wsdl.builder.wsdl4j.WSDLPump.populateDefinit
ion(WSDLPump.java:188)
[java] at org.apache.axis2.wsdl.builder.wsdl4j.WSDLPump.pump(WSDLPump.j
ava:84)
[java] at org.apache.axis2.wsdl.builder.wsdl4j.WSDL1ToWOMBuilder.build(
WSDL1ToWOMBuilder.java:125)
[java] at org.apache.axis2.wsdl.builder.wsdl4j.WSDL1ToWOMBuilder.build(
WSDL1ToWOMBuilder.java:94)
[java] at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.getWOM(Cod
eGenerationEngine.java:118)
[java] at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(Cod
eGenerationEngine.java:49)
[java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:29)
[java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:23)
[java] Java Result: 1


please suggest me how to parse thiese files...
Thans
 
GeeCON Prague 2014
 
subject: wsdl parsing exception