Hi All, iam getting a segmentation fault when i call a Java webservice function. When i call getFunctions method of the SoapClient it lists out the functions exposed by webservice but when i try to call the function it gives a segmentation fault. My php code is : <?php try { $client = new SoapClient(" http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl"); var_dump($client->__getFunctions()); var_dump($client->__getTypes()); $namedArray = array('xmlData' => "TEST"); $results = $client->testPhp($namedArray); echo "MESSAGE ID IS :<br>"; print_r($results); } catch (SOAPFault $exception) { echo $exception; } ?> My WSDL is * * <?xml version="1.0" encoding="UTF-8" ?> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:definitions targetNamespace=*http://messaging.test.com* xmlns:axis2="* http://messaging.test.com*" xmlns:soap12="* http://schemas.xmlsoap.org/wsdl/soap12/*" xmlns:ns0="*http://messaging.test .com/xsd*" xmlns:mime="*http://schemas.xmlsoap.org/wsdl/mime/*" xmlns:http=" *http://schemas.xmlsoap.org/wsdl/http/*" xmlns:ns1="* http://org.apache.axis2/xsd*" xmlns:wsaw="* http://www.w3.org/2006/05/addressing/wsdl*" xmlns:xs="* http://www.w3.org/2001/XMLSchema*" xmlns:soap="* http://schemas.xmlsoap.org/wsdl/soap/*" xmlns:wsdl="* http://schemas.xmlsoap.org/wsdl/*"> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:types> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> <xs:schemaattributeFormDefault ="*qualified*" elementFormDefault="*qualified*" targetNamespace="* http://messaging.test.com/xsd*" xmlns:xsd="*http://messaging.test.com/xsd*"> *+* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:element name="*testPhp*"> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:complexType> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:sequence> * * <xs:element minOccurs="*0*" name="*param0*" nillable="*true*" type="* xs:string*" /> * * </xs:sequence> * * </xs:complexType> * * </xs:element> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:element name="*testPhpResponse*"> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:complexType> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:sequence> * * <xs:element minOccurs="*0*" name="*return*" type="*xs:int*" /> * * </xs:sequence> * * </xs:complexType> * * </xs:element> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:element name="*sendEmail*"> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:complexType> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:sequence> * * <xs:element minOccurs="*0*" name="*param0*" nillable="*true*" type="* xs:string*" /> * * </xs:sequence> * * </xs:complexType> * * </xs:element> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:element name="*sendEmailResponse*"> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:complexType> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < xs:sequence> * * <xs:element minOccurs="*0*" name="*return*" nillable="*true*" type="* xs:string*" /> * * </xs:sequence> * * </xs:complexType> * * </xs:element> * * </xs:schema> * * </wsdl:types> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:message name="*sendEmailRequest*"> * * <wsdl:part name="*parameters*" element="*ns0:sendEmail*" /> * * </wsdl:message> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:message name="*testPhpResponse*"> * * <wsdl:part name="*parameters*" element="*ns0:testPhpResponse*" /> * * </wsdl:message> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:message name="*sendEmailResponse*"> * * <wsdl:part name="*parameters*" element="*ns0:sendEmailResponse*" /> * * </wsdl:message> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:message name="*testPhpRequest*"> * * <wsdl:part name="*parameters*" element="*ns0:testPhp*" /> * * </wsdl:message> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:portType name="*SendEmailWSPortType*"> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:operation name="*testPhp*"> * * <wsdl:input message="*axis2:testPhpRequest*" wsaw:Action="*urn:testPhp* " /> * * <wsdl:output message="*axis2:testPhpResponse*" wsaw:Action="* urn:testPhpResponse*" /> * * </wsdl:operation> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:operation name="*sendEmail*"> * * <wsdl:input message="*axis2:sendEmailRequest*" wsaw:Action="* urn:sendEmail*" /> * * <wsdl:output message="*axis2:sendEmailResponse*" wsaw:Action="* urn:sendEmailResponse*" /> * * </wsdl:operation> * * </wsdl:portType> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:binding name="*SendEmailWSSOAP11Binding*" type="* axis2:SendEmailWSPortType*"> * * <soap:binding style="*document*" transport="* http://schemas.xmlsoap.org/soap/http*" /> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:operation name="*testPhp*"> * * <soap:operation soapAction="*urn:testPhp*" style="*document*" /> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:input> * * <soap:body use="*literal*" /> * * </wsdl:input> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:output> * * <soap:body use="*literal*" /> * * </wsdl:output> * * </wsdl:operation> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:operation name="*sendEmail*"> * * <soap:operation soapAction="*urn:sendEmail*" style="*document*" /> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:input> * * <soap:body use="*literal*" /> * * </wsdl:input> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:output> * * <soap:body use="*literal*" /> * * </wsdl:output> * * </wsdl:operation> * * </wsdl:binding> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:binding name="*SendEmailWSHttpBinding*" type="* axis2:SendEmailWSPortType*"> * * <http:binding verb="*POST*" /> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:operation name="*testPhp*"> * * <http:operation location="*SendEmailWS/testPhp*" /> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:input> * * <mime:content part="*testPhp*" type="*text/xml*" /> * * </wsdl:input> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:output> * * <mime:content part="*testPhp*" type="*text/xml*" /> * * </wsdl:output> * * </wsdl:operation> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:operation name="*sendEmail*"> * * <http:operation location="*SendEmailWS/sendEmail*" /> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:input> * * <mime:content part="*sendEmail*" type="*text/xml*" /> * * </wsdl:input> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:output> * * <mime:content part="*sendEmail*" type="*text/xml*" /> * * </wsdl:output> * * </wsdl:operation> * * </wsdl:binding> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:binding name="*SendEmailWSSOAP12Binding*" type="* axis2:SendEmailWSPortType*"> * * <soap12:binding style="*document*" transport="* http://schemas.xmlsoap.org/soap/http*" /> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:operation name="*testPhp*"> * * <soap12:operation soapAction="*urn:testPhp*" style="*document*" /> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:input> * * <soap12:body use="*literal*" /> * * </wsdl:input> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:output> * * <soap12:body use="*literal*" /> * * </wsdl:output> * * </wsdl:operation> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:operation name="*sendEmail*"> * * <soap12:operation soapAction="*urn:sendEmail*" style="*document*" /> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:input> * * <soap12:body use="*literal*" /> * * </wsdl:input> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:output> * * <soap12:body use="*literal*" /> * * </wsdl:output> * * </wsdl:operation> * * </wsdl:binding> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> < wsdl:service name="*SendEmailWS*"> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> <wsdl:portname ="*SendEmailWSHttpport*" binding="*axis2:SendEmailWSHttpBinding*"> * * <http:address location="* http://72.167.92.140:9080/axis2/services/SendEmailWS*" /> * * </wsdl:port> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> <wsdl:portname ="*SendEmailWSSOAP11port_http*" binding="*axis2:SendEmailWSSOAP11Binding*"> * * <soap:address location="* http://72.167.92.140:9080/axis2/services/SendEmailWS*" /> * * </wsdl:port> *-* <http://72.167.92.140:9080/axis2/services/SendEmailWS?wsdl#> <wsdl:portname ="*SendEmailWSSOAP12port_http*" binding="*axis2:SendEmailWSSOAP12Binding*"> * * <soap12:address location="* http://72.167.92.140:9080/axis2/services/SendEmailWS*" /> * * </wsdl:port> * * </wsdl:service> * * </wsdl:definitions> PLEASE ADVICE -- cheers, Sadashiv Borkar Today is a gift, that's why it is called the present.