[wsf-c-dev] [jira] Commented: (WSFPHP-211) Error in wsdl2php script

Samisa Abeysinghe (JIRA) jira at wso2.org
Fri Feb 22 04:50:48 PST 2008


    [ https://wso2.org/jira/browse/WSFPHP-211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15705#action_15705 ] 

Samisa Abeysinghe commented on WSFPHP-211:
------------------------------------------

Looks like this WSDL is incorrect. 

<schema elementFormDefault="qualified" targetNamespace="http://localhost/axis/Calculator" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost/axis/Calculator" xmlns:intf="http://localhost/axis/Calculator" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <element name="add">
    <complexType>
     <sequence>
      <element name="arg_0_0" type="xsd:int"/>
      <element name="arg_1_0" type="xsd:int"/>
     </sequence>
    </complexType>
   </element>

note that schema is not validated with namespace 'xsd' 

e.g. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
			targetNamespace="http://www.wso2.org/php">
			<xsd:element name="orderInfo">

> Error in wsdl2php script
> ------------------------
>
>                 Key: WSFPHP-211
>                 URL: https://wso2.org/jira/browse/WSFPHP-211
>             Project: WSO2 WSF/PHP
>          Issue Type: Bug
>    Affects Versions: Current (nightly)
>         Environment: Ubuntu 7.10
>            Reporter: Lahiru Gunathilake
>            Priority: Minor
>         Attachments: CalculatorDoc.wsdl, calculatordoc_client.php
>
>
> While i'm generating php code for the attached wsdl it create unnecessary class called intand add that class in to class map aswel.
> It create all the other classes correctly.I've attached generated client code with the wsdl.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the Wsf-c-dev mailing list