<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >SCA_SoapProxy::createDataObject</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="PHP 手册" HREF="index.html"><LINK REL="UP" TITLE="SCA Functions" HREF="ref.sca.html"><LINK REL="PREVIOUS" TITLE="SCA_LocalProxy::createDataObject" HREF="function.sca-localproxy-createdataobject.html"><LINK REL="NEXT" TITLE="SCA::createDataObject" HREF="function.sca-createdataobject.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP 手册</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.sca-localproxy-createdataobject.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.sca-createdataobject.html" ACCESSKEY="N" >下一页</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.SCA-SoapProxy-createDataObject" ></A >SCA_SoapProxy::createDataObject</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN201880" ></A ><P > (no version information, might be only in CVS)</P >SCA_SoapProxy::createDataObject -- create an SDO </DIV ><DIV CLASS="refsect1" ><A NAME="AEN201883" ></A ><H2 >说明</H2 >SDO_DataObject <B CLASS="methodname" >SCA_SoapProxy::createDataObject</B > ( string type_namespace_uri, string type_name )<BR ></BR ><DIV CLASS="warning" ><P ></P ><TABLE CLASS="warning" BORDER="1" WIDTH="100%" ><TR ><TD ALIGN="CENTER" ><B >警告</B ></TD ></TR ><TR ><TD ALIGN="LEFT" ><P >本函数是<SPAN CLASS="emphasis" ><I CLASS="emphasis" >实验性</I ></SPAN >的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。</P ></TD ></TR ></TABLE ></DIV ><P > This method is used inside either an ordinary PHP script or an SCA component that needs to create an SDO to pass to a web service. The parameters are the desired SDO's namespace URI and type name. The namespace and type must be defined in the interface of the component that is to be called, so the namespace and type must be defined within the WSDL for the web service. If the web service is also an SCA component then the types will have been defined within one of the schema files which are specfied on the @types annotation within the component for which the SCA_SoapProxy object is a proxy. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN201898" ></A ><H2 >参数</H2 ><P > <P ></P ><DIV CLASS="variablelist" ><DL ><DT ><CODE CLASS="parameter" >type_namespace_uri</CODE ></DT ><DD ><P > The namespace of the type. </P ></DD ><DT ><CODE CLASS="parameter" >type_name</CODE ></DT ><DD ><P > The name of the type. </P ></DD ></DL ></DIV > </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN201912" ></A ><H2 >返回值</H2 ><P > Returns the newly created SDO_DataObject. </P ></DIV ><DIV CLASS="refsect1" ><A NAME="AEN201915" ></A ><H2 >错误/异常</H2 ><P > <P ></P ><DIV CLASS="variablelist" ><DL ><DT ><CODE CLASS="parameter" >SDO_TypeNotFoundException</CODE ></DT ><DD ><P > Thrown if the namespaceURI and typeName do not correspond to a type found in the WSDL that was used to initialise this SCA_SoapProxy. </P ></DD ></DL ></DIV > </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.sca-localproxy-createdataobject.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >起始页</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.sca-createdataobject.html" ACCESSKEY="N" >下一页</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >SCA_LocalProxy::createDataObject</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.sca.html" ACCESSKEY="U" >上一级</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >SCA::createDataObject</TD ></TR ></TABLE ></DIV ></BODY ></HTML >