[wsf-c-dev][PHP]Wsdl Generation - schema types

James Clark james at wso2.com
Wed Dec 13 02:20:24 PST 2006


>    
> Yes, most of them are mapped similarly and the types that I have listed 
> as *unknown *was treated as *string* type in PHP.A few of the types in 
> the table  is treated as type *long* even though I have listed as *int*. 
> So is it better to map the types in that way as in  PHP SOAP with those 
> modifications.

I'm just not understanding this.

The doc comment gives us a PHP type, right, not a XML schema type?  The
problem is to map from a PHP type to a XML schema type that we can put
in the WSDL, right?  Your table has

Schema type | PHP Type
----------------------
string      | string
base64Binary| string
hexBinary   | string

How given the PHP string type do you decide which of the schema types
string, base64Binary or hexBinary it should map to?

James


  





More information about the Wsf-c-dev mailing list