I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-02-06 16:15:27-08 by schrist
Getting a NOT FOUND error
Hello, I'm trying to use SOAP-WSDL and am having problems with the class files generator. I get several types created and then it dies. Here is what I am typing - you can see the error and the location of the WSDL:
wsdl2perl.pl -p=CDW -b perl_soap/wsdl_classes/ http://64.73.42.227:13080/sc62server/PWS/IncidentManagement.wsdl
found unrecognised attribute {http://www.w3.org/2001/XMLSchema-instance}schemaLocation (ignored) at /usr/lib/perl5/site_perl/5.8.8/SOAP/WSDL/Base.pm line 130.
Creating complexType class CDWTypes/StringType.pm
Creating complexType class CDWTypes/DecimalType.pm
Creating complexType class CDWTypes/BooleanType.pm
Creating complexType class CDWTypes/DateTimeType.pm
Creating complexType class CDWTypes/DateType.pm
Creating complexType class CDWTypes/TimeType.pm
Creating complexType class CDWTypes/DurationType.pm
Creating complexType class CDWTypes/IntType.pm
Creating complexType class CDWTypes/ShortType.pm
Creating complexType class CDWTypes/LongType.pm
Creating complexType class CDWTypes/ByteType.pm
Creating complexType class CDWTypes/FloatType.pm
Creating complexType class CDWTypes/DoubleType.pm
Creating complexType class CDWTypes/Base64Type.pm
Creating complexType class CDWTypes/ArrayType.pm
Creating complexType class CDWTypes/StructureType.pm
Creating complexType class CDWTypes/AttachmentType.pm
Creating complexType class CDWTypes/AttachmentsType.pm
Creating complexType class CDWTypes/MessageType.pm
Creating complexType class CDWTypes/MessagesType.pm
Creating simpleType class CDWTypes/StatusType.pm
Creating complexType class CDWTypes/IncidentKeysType.pm
Creating complexType class CDWTypes/IncidentInstanceType.pm
Creating complexType class CDWTypes/IncidentModelType.pm
/usr/lib/perl5/site_perl/5.8.8/SOAP/WSDL/Generator/Template/XSD\complexType.tt NOT_FOUND error - http://servicecenter.peregrine.com/PWS/Common IncidentKeysType not found at /usr/lib/perl5/site_perl/5.8.8/SOAP/WSDL/Base.pm line 62


Can someone please help me with this?
Thank you!
Sara
Direct Responses: 9892 | Write a response
Posted on 2009-02-06 16:54:04-08 by mkutter in response to 9889
Re: Getting a NOT FOUND error
Hi Sara,

I can't tell for sure without the WSDL, but this could be an effect of the following bug
* [ 2533903 ] Imported schema overwrites existing XML namespace/prefix map Importing a schema which defined the same XML namespace prefix as the importing schema, but with a different URI resulted in having the URI associated with the prefix from the imported schema set in the importing schema.

http://sourceforge.net/tracker/index.php?func=detail&aid=2533903&group_id=111978&atid=660921

This is already fixed in SOAP::WSDL's SVN at https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk

Martin
Direct Responses: 9893 | Write a response
Posted on 2009-02-06 19:03:28-08 by schrist in response to 9892
Re: Getting a NOT FOUND error
Martin,
That worked! Thank you.
I have one more question: How do I put authentication information into the connection? Out system requires a username and password.
Direct Responses: 9894 | Write a response
Posted on 2009-02-06 19:11:58-08 by mkutter in response to 9893
Re: Getting a NOT FOUND error
Hi Sara,
see SOAP::WSDL::Manual::Cookbook for recipes for accessing protected web services.

Martin
Direct Responses: 9911 | Write a response
Posted on 2009-02-09 19:00:42-08 by schrist in response to 9894
Re: Getting a NOT FOUND error
Thank you Martin - that worked.
Direct Responses: 12904 | Write a response
Posted on 2010-08-31 01:23:52.239221-07 by rickthemick in response to 9911
Re: Getting a NOT FOUND error
I've got a similiar problem, dont know where to look for the solution! Ideas?
S:\users\sjostric\temp\cqadapt_perl_client>c:\strawberry\perl\bin\wsdl2perl.bat http://localhost:9090/cqquery?wsdl Creating complexType class MyTypes/string2stringMap.pm C:\strawberry\perl\site\lib\SOAP\WSDL\Generator\Template\XSD\complexType.tt file error - complexType.tt: not found at C:/strawberry/perl/site/lib/SOAP/WSDL/Base .pm line 62
Direct Responses: 12905 | Write a response
Posted on 2010-08-31 04:10:48.329431-07 by rickthemick in response to 12904
Re: Getting a NOT FOUND error
The problem seems to be that I need to run the command from the same drive as my perl installation (that is, C: in this case) Does this make sense?
Direct Responses: Write a response