|
Hi all,
I was using the wsdl2perl tool for getting the interfaces from the given wsdl file.
But the issue which we currently have is that this wsdl2perl tool is failing to generate the respective interfaces.
tcia4# perl wsdl2perl.pl -b maya http://mayatestsrv:8080/mservice/MSCMFacadeBean?wsdl
cannot import document for namespace http://mscm.m.com without location at /opt/perl/lib/site_perl/5.8.3/SOAP/WSDL/Expat/WSDLParser.pm line 81.
cannot import document for namespace http://mscmui.mcom without location at /opt/perl/lib/site_perl/5.8.3/SOAP/WSDL/Expat/WSDLParser.pm line 81.
Deep recursion on subroutine "Template::Context::process" at /opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi/Template/Context.pm line 407.
Deep recursion on subroutine "Template::Document::process" at /opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi/Template/Context.pm line 349.
Deep recursion on subroutine "Template::Context::include" at /opt/perl/lib/site_perl/5.8.3/SOAP/WSDL/Generator/Template/XSD/element/POD/structure.tt line 5.
Deep recursion on subroutine "Template::Context::process" at /opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi/Template/Context.pm line 407.
Deep recursion on subroutine "Template::Document::process" at /opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi/Template/Context.pm line 349.
Deep recursion on subroutine "Template::Context::include" at /opt/perl/lib/site_perl/5.8.3/SOAP/WSDL/Generator/Template/XSD/element/POD/structure.tt line 5.
Deep recursion on anonymous subroutine at /opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi/Template/Document.pm line 155.
Deep recursion on anonymous subroutine at /opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi/Template/Document.pm line 155.
Deep recursion on anonymous subroutine at /opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi/Template/Document.pm line 155.
Deep recursion on anonymous subroutine at /opt/perl/lib/site_perl/5.8.3/PA-RISC1.1-thread-multi/Template/Document.pm line 155.
Out of memory!
Out of memory!
Bus error(coredump)
When tried debugging, we came to know that the WSDL file needs to specify the schemaLocation for the import tags defined for the data types. But we dont have any xsd schema for the imported namespace.
Is there any way we can ignore this schema checking? Is there any way to come across this situation??
Our WSDL file looks something like below... (sorry for not posting the entire wsdl - its a secure code - so just posting only a part of it)
----------------------------------------------------
<definitions name="MayaService" targetNamespace="http://mscm.m.com" xmlns="http://schemas.xmlsoap.o
+rg/wsdl/" xmlns:ns1="http://mscmui.m.com" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns
+:tns="http://mscm.m.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<types>
<xs:schema targetNamespace="http://mscm.m.com" version="1.0" xmlns:ns1="http://mscmui.m.com" xmln
+s:tns="http://mscm.m.com" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://mscmui.m.com"/>
<xs:element name="Key" type="tns:Key"/>
<xs:element name="KeyCol" type="tns:KeyCol"/>
<xs:element name="MAuthFailedException" nillable="true" type="ns1:MAuthFailedException"/>
<xs:element name="MDuplicateRoleException" nillable="true" type="ns1:MDuplicateRoleException"/>
<xs:element name="MExternalFaultException" nillable="true" type="ns1:MExternalFaultException"/>
<xs:element name="MIllegalDeleteException" nillable="true" type="ns1:MIllegalDeleteException"/>
<xs:element name="MIllegalMoveException" nillable="true" type="ns1:MIllegalMoveException"/>
<xs:element name="MInvalidInputException" nillable="true" type="ns1:MInvalidInputException"/>
<xs:element name="MInvalidRoleInputException" nillable="true" type="ns1:MInvalidRoleInputExcepti
+on"/>
<xs:element name="MInvalidScheduleException" nillable="true" type="ns1:MInvalidScheduleException
+"/>
<xs:element name="MNoCapacityException" nillable="true" type="ns1:MNoCapacityException"/>
<xs:element name="MObjectNotFoundException" nillable="true" type="ns1:MObjectNotFoundException"/
+>
<xs:element name="MPolicyAlreadyExistsException" nillable="true" type="ns1:MPolicyAlreadyExistsE
+xception"/>
<xs:element name="MPolicyDeleteException" nillable="true" type="ns1:MPolicyDeleteException"/>
<xs:element name="MPolicyInvalidInputException" nillable="true" type="ns1:MPolicyInvalidInputExc
+eption"/>
<xs:element name="MPolicyNotFoundException" nillable="true" type="ns1:MPolicyNotFoundException"/
+>
<xs:element name="MPolicyNotOverriddenException" nillable="true" type="ns1:MPolicyNotOverriddenE
+xception"/>
<xs:element name="MRelatedResourceRoleExistsException" nillable="true" type="ns1:MRelatedResourc
+eRoleExistsException"/>
<xs:element name="MResourceAlreadyExistsException" nillable="true" type="ns1:MResourceAlreadyExi
+stsException"/>
<xs:element name="MResourceBusyException" nillable="true" type="ns1:MResourceBusyException"/>
<xs:element name="MResourceInUseException" nillable="true" type="ns1:MResourceInUseException"/>
<xs:element name="MResourceNotFoundException" nillable="true" type="ns1:MResourceNotFoundExcepti
+on"/>
<xs:element name="MRoleInUseException" nillable="true" type="ns1:MRoleInUseException"/>
<xs:element name="MRoleNotFoundException" nillable="true" type="ns1:MRoleNotFoundException"/>
<xs:element name="MScheduleAlreadyActiveException" nillable="true" type="ns1:MScheduleAlreadyAct
+iveException"/>
<xs:element name="MScheduleFreeSlotNotAvailableException" nillable="true" type="ns1:MScheduleFre
+eSlotNotAvailableException"/>
<xs:element name="MScheduleNotFoundException" nillable="true" type="ns1:MScheduleNotFoundExcepti
+on"/>
<xs:element name="MUserNotFoundException" nillable="true" type="ns1:MUserNotFoundException"/>
<xs:element name="MUserNotInDirectoryException" nillable="true" type="ns1:MUserNotInDirectoryExc
+eption"/>
<xs:element name="addFilter" nillable="true" type="ns1:addFilter"/>
<xs:element name="addFilterResponse" nillable="true" type="ns1:addFilterResponse"/>
------------------------------------------------------
All the above data structures are java based classes.
Hoping that some one will give me some pointers...
Thanks & Regards,
-Vijay :)
|