You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Eran Moss <Er...@orcainteractive.com> on 2002/05/16 00:46:40 UTC

Working with GLUE client with the Apache SOAP Server

Hi, 

I've been having major problems invoking a server using a GLUE 2-2 client on
the Apache server with Tomcat 3.3, I have an Apache client that works fine
with the same service (the GLUE client was not my idea).  
The service name is notify(DirNotificationData data) where
DirNotificationData is a user defined object.

This the error message I've been receiving:
electric.registry.RegistryException: could not bind to path:
http://192.168.1.191:7778/core-EMB_1/Html/soap/NotificationListener.wsdl
	electric.reference.IReference
electric.net.soap.SOAPRegistry.bind(java.lang.String, java.lang.Class[],
electric.util.Context)
	electric.reference.IReference
electric.registry.compound.CompoundRegistry.bind(java.lang.String,
java.lang.Class[], electric.util.Context)
	java.lang.Object electric.registry.Registry.bind(java.lang.String,
java.lang.Class[], electric.util.Context)
	java.lang.Object electric.registry.Registry.bind(java.lang.String,
java.lang.Class)
	void Client1.main(java.lang.String[])
java.lang.NullPointerException
	void Client1.main(java.lang.String[])

This the deployment descriptor file:
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:emblaze">
	<isd:provider type="java" scope="Application" methods="notify">
		<isd:java class="emblaze.NotificationListener"
static="false"/>
	</isd:provider>
	
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene
r>
	<isd:mappings>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:emblaze" qname="x:emblaze.DirNotificationData"
javaType="emblaze.DirNotificationData"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="http://www.themindelectric.com/package/emblaze/"
qname="x:emblaze.DirNotificationData" javaType="emblaze.DirNotificationData"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:emblaze" qname="x:emblaze.DIRECTORY_EVENT_TYPE"
javaType="emblaze.DIRECTORY_EVENT_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="http://www.themindelectric.com/package/emblaze/"
qname="x:emblaze.DIRECTORY_EVENT_TYPE"
javaType="emblaze.DIRECTORY_EVENT_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:emblaze" qname="x:emblaze.DIR_ENTRY_TYPE"
javaType="emblaze.DIR_ENTRY_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="http://www.themindelectric.com/package/emblaze/"
qname="x:emblaze.DIR_ENTRY_TYPE" javaType="emblaze.DIR_ENTRY_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
	</isd:mappings>
</isd:service>


This is the WSDL file I've been using:

<?xml version="1.0" encoding="UTF-8"?>
<!--generated by GLUE on Mon May 13 12:37:01 IDT 2002-->
<definitions name="emblaze.NotificationListener"
targetNamespace="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:ns11="http://www.themindelectric.com/package/com.blz.platform.interfac
es.webservice.services.assetmngmt/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tme="http://www.themindelectric.com/" xmlns:tns="urn:emblaze"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<types>
		<schema
targetNamespace="http://www.themindelectric.com/package/com.blz.platform.int
erfaces.webservice.services.assetmngmt/"
xmlns="http://www.w3.org/2001/XMLSchema">
			<complexType name="DirNotificationData">
				<sequence>
					<element name="sid" nillable="true"
type="string"/>
					<element name="entryType"
nillable="true" type="ns11:DIR_ENTRY_TYPE"/>
					<element name="eventType"
nillable="true" type="ns11:DIRECTORY_EVENT_TYPE"/>
					<element name="entryId"
nillable="true" type="string"/>
					<element name="parentId"
nillable="true" type="string"/>
				</sequence>
			</complexType>
			<complexType name="DIR_ENTRY_TYPE">
				<sequence>
					<element name="m_iValue"
type="int"/>
				</sequence>
			</complexType>
			<complexType name="DIRECTORY_EVENT_TYPE">
				<sequence>
					<element name="m_iValue"
type="int"/>
				</sequence>
			</complexType>
		</schema>
	</types>
	<message name="notify0In">
		<part name="notificationData"
type="ns11:DirNotificationData"/>
	</message>
	<message name="notify0Out"/>
	<portType name="NotificationListener">
		<operation name="notify" parameterOrder="notificationData">
			<input message="tns:notify0In" name="notify0In"/>
			<output message="tns:notify0Out" name="notify0Out"/>
		</operation>
	</portType>
	<binding name="NotificationListener"
type="tns:NotificationListener">
		<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="notify">
			<soap:operation soapAction="notify" style="rpc"/>
			<input name="notify0In">
				<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:emblaze" use="encoded"/>
			</input>
			<output name="notify0Out">
				<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:emblaze" use="encoded"/>
			</output>
		</operation>
	</binding>
	<service name="emblaze.NotificationListener">
		<port binding="tns:NotificationListener"
name="NotificationListener">
			<soap:address
location="192.168.1.191:8008/soap/servlet/rpcrouter"/>
		</port>
	</service>
</definitions>


Thanks for you help.


> Eran Moss
> Integration team leader
ORCA INTERACTIVE LTD 
1 Sapir St. P.O.Box 12721
IND- Zone Herzeliyya 46733
Israel  

Tel: +972-9-9564444
Fax: +972-9-9564447
Mobile: +972-54-510950
www.OrcaInteractive.com




RE: Working with GLUE client with the Apache SOAP Server

Posted by graham glass <gr...@mindspring.com>.
have you tried upgrading to GLUE 2.3, which is the latest version of GLUE?

cheers,
graham

-----Original Message-----
From: Eran Moss [mailto:Eran@orcainteractive.com]
Sent: Wednesday, May 15, 2002 5:47 PM
To: 'soap-dev@xml.apache.org'
Subject: Working with GLUE client with the Apache SOAP Server


Hi,

I've been having major problems invoking a server using a GLUE 2-2 client on
the Apache server with Tomcat 3.3, I have an Apache client that works fine
with the same service (the GLUE client was not my idea).
The service name is notify(DirNotificationData data) where
DirNotificationData is a user defined object.

This the error message I've been receiving:
electric.registry.RegistryException: could not bind to path:
http://192.168.1.191:7778/core-EMB_1/Html/soap/NotificationListener.wsdl
	electric.reference.IReference
electric.net.soap.SOAPRegistry.bind(java.lang.String, java.lang.Class[],
electric.util.Context)
	electric.reference.IReference
electric.registry.compound.CompoundRegistry.bind(java.lang.String,
java.lang.Class[], electric.util.Context)
	java.lang.Object electric.registry.Registry.bind(java.lang.String,
java.lang.Class[], electric.util.Context)
	java.lang.Object electric.registry.Registry.bind(java.lang.String,
java.lang.Class)
	void Client1.main(java.lang.String[])
java.lang.NullPointerException
	void Client1.main(java.lang.String[])

This the deployment descriptor file:
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:emblaze">
	<isd:provider type="java" scope="Application" methods="notify">
		<isd:java class="emblaze.NotificationListener"
static="false"/>
	</isd:provider>

<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene
r>
	<isd:mappings>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:emblaze" qname="x:emblaze.DirNotificationData"
javaType="emblaze.DirNotificationData"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="http://www.themindelectric.com/package/emblaze/"
qname="x:emblaze.DirNotificationData" javaType="emblaze.DirNotificationData"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:emblaze" qname="x:emblaze.DIRECTORY_EVENT_TYPE"
javaType="emblaze.DIRECTORY_EVENT_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="http://www.themindelectric.com/package/emblaze/"
qname="x:emblaze.DIRECTORY_EVENT_TYPE"
javaType="emblaze.DIRECTORY_EVENT_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:emblaze" qname="x:emblaze.DIR_ENTRY_TYPE"
javaType="emblaze.DIR_ENTRY_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="http://www.themindelectric.com/package/emblaze/"
qname="x:emblaze.DIR_ENTRY_TYPE" javaType="emblaze.DIR_ENTRY_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
	</isd:mappings>
</isd:service>


This is the WSDL file I've been using:

<?xml version="1.0" encoding="UTF-8"?>
<!--generated by GLUE on Mon May 13 12:37:01 IDT 2002-->
<definitions name="emblaze.NotificationListener"
targetNamespace="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:ns11="http://www.themindelectric.com/package/com.blz.platform.interfac
es.webservice.services.assetmngmt/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tme="http://www.themindelectric.com/" xmlns:tns="urn:emblaze"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<types>
		<schema
targetNamespace="http://www.themindelectric.com/package/com.blz.platform.int
erfaces.webservice.services.assetmngmt/"
xmlns="http://www.w3.org/2001/XMLSchema">
			<complexType name="DirNotificationData">
				<sequence>
					<element name="sid" nillable="true"
type="string"/>
					<element name="entryType"
nillable="true" type="ns11:DIR_ENTRY_TYPE"/>
					<element name="eventType"
nillable="true" type="ns11:DIRECTORY_EVENT_TYPE"/>
					<element name="entryId"
nillable="true" type="string"/>
					<element name="parentId"
nillable="true" type="string"/>
				</sequence>
			</complexType>
			<complexType name="DIR_ENTRY_TYPE">
				<sequence>
					<element name="m_iValue"
type="int"/>
				</sequence>
			</complexType>
			<complexType name="DIRECTORY_EVENT_TYPE">
				<sequence>
					<element name="m_iValue"
type="int"/>
				</sequence>
			</complexType>
		</schema>
	</types>
	<message name="notify0In">
		<part name="notificationData"
type="ns11:DirNotificationData"/>
	</message>
	<message name="notify0Out"/>
	<portType name="NotificationListener">
		<operation name="notify" parameterOrder="notificationData">
			<input message="tns:notify0In" name="notify0In"/>
			<output message="tns:notify0Out" name="notify0Out"/>
		</operation>
	</portType>
	<binding name="NotificationListener"
type="tns:NotificationListener">
		<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="notify">
			<soap:operation soapAction="notify" style="rpc"/>
			<input name="notify0In">
				<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:emblaze" use="encoded"/>
			</input>
			<output name="notify0Out">
				<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:emblaze" use="encoded"/>
			</output>
		</operation>
	</binding>
	<service name="emblaze.NotificationListener">
		<port binding="tns:NotificationListener"
name="NotificationListener">
			<soap:address
location="192.168.1.191:8008/soap/servlet/rpcrouter"/>
		</port>
	</service>
</definitions>


Thanks for you help.


> Eran Moss
> Integration team leader
ORCA INTERACTIVE LTD
1 Sapir St. P.O.Box 12721
IND- Zone Herzeliyya 46733
Israel

Tel: +972-9-9564444
Fax: +972-9-9564447
Mobile: +972-54-510950
www.OrcaInteractive.com






RE: Working with GLUE client with the Apache SOAP Server

Posted by graham glass <gr...@mindspring.com>.
have you tried upgrading to GLUE 2.3, which is the latest version of GLUE?

cheers,
graham

-----Original Message-----
From: Eran Moss [mailto:Eran@orcainteractive.com]
Sent: Wednesday, May 15, 2002 5:47 PM
To: 'soap-dev@xml.apache.org'
Subject: Working with GLUE client with the Apache SOAP Server


Hi,

I've been having major problems invoking a server using a GLUE 2-2 client on
the Apache server with Tomcat 3.3, I have an Apache client that works fine
with the same service (the GLUE client was not my idea).
The service name is notify(DirNotificationData data) where
DirNotificationData is a user defined object.

This the error message I've been receiving:
electric.registry.RegistryException: could not bind to path:
http://192.168.1.191:7778/core-EMB_1/Html/soap/NotificationListener.wsdl
	electric.reference.IReference
electric.net.soap.SOAPRegistry.bind(java.lang.String, java.lang.Class[],
electric.util.Context)
	electric.reference.IReference
electric.registry.compound.CompoundRegistry.bind(java.lang.String,
java.lang.Class[], electric.util.Context)
	java.lang.Object electric.registry.Registry.bind(java.lang.String,
java.lang.Class[], electric.util.Context)
	java.lang.Object electric.registry.Registry.bind(java.lang.String,
java.lang.Class)
	void Client1.main(java.lang.String[])
java.lang.NullPointerException
	void Client1.main(java.lang.String[])

This the deployment descriptor file:
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:emblaze">
	<isd:provider type="java" scope="Application" methods="notify">
		<isd:java class="emblaze.NotificationListener"
static="false"/>
	</isd:provider>

<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene
r>
	<isd:mappings>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:emblaze" qname="x:emblaze.DirNotificationData"
javaType="emblaze.DirNotificationData"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="http://www.themindelectric.com/package/emblaze/"
qname="x:emblaze.DirNotificationData" javaType="emblaze.DirNotificationData"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:emblaze" qname="x:emblaze.DIRECTORY_EVENT_TYPE"
javaType="emblaze.DIRECTORY_EVENT_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="http://www.themindelectric.com/package/emblaze/"
qname="x:emblaze.DIRECTORY_EVENT_TYPE"
javaType="emblaze.DIRECTORY_EVENT_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="urn:emblaze" qname="x:emblaze.DIR_ENTRY_TYPE"
javaType="emblaze.DIR_ENTRY_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
		<isd:map
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:x="http://www.themindelectric.com/package/emblaze/"
qname="x:emblaze.DIR_ENTRY_TYPE" javaType="emblaze.DIR_ENTRY_TYPE"
java2XMLClassName="org.apache.soap.encoding.soapenc.BeanSerializer"
xml2JavaClassName="org.apache.soap.encoding.soapenc.BeanSerializer"/>
	</isd:mappings>
</isd:service>


This is the WSDL file I've been using:

<?xml version="1.0" encoding="UTF-8"?>
<!--generated by GLUE on Mon May 13 12:37:01 IDT 2002-->
<definitions name="emblaze.NotificationListener"
targetNamespace="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:ns11="http://www.themindelectric.com/package/com.blz.platform.interfac
es.webservice.services.assetmngmt/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tme="http://www.themindelectric.com/" xmlns:tns="urn:emblaze"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<types>
		<schema
targetNamespace="http://www.themindelectric.com/package/com.blz.platform.int
erfaces.webservice.services.assetmngmt/"
xmlns="http://www.w3.org/2001/XMLSchema">
			<complexType name="DirNotificationData">
				<sequence>
					<element name="sid" nillable="true"
type="string"/>
					<element name="entryType"
nillable="true" type="ns11:DIR_ENTRY_TYPE"/>
					<element name="eventType"
nillable="true" type="ns11:DIRECTORY_EVENT_TYPE"/>
					<element name="entryId"
nillable="true" type="string"/>
					<element name="parentId"
nillable="true" type="string"/>
				</sequence>
			</complexType>
			<complexType name="DIR_ENTRY_TYPE">
				<sequence>
					<element name="m_iValue"
type="int"/>
				</sequence>
			</complexType>
			<complexType name="DIRECTORY_EVENT_TYPE">
				<sequence>
					<element name="m_iValue"
type="int"/>
				</sequence>
			</complexType>
		</schema>
	</types>
	<message name="notify0In">
		<part name="notificationData"
type="ns11:DirNotificationData"/>
	</message>
	<message name="notify0Out"/>
	<portType name="NotificationListener">
		<operation name="notify" parameterOrder="notificationData">
			<input message="tns:notify0In" name="notify0In"/>
			<output message="tns:notify0Out" name="notify0Out"/>
		</operation>
	</portType>
	<binding name="NotificationListener"
type="tns:NotificationListener">
		<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
		<operation name="notify">
			<soap:operation soapAction="notify" style="rpc"/>
			<input name="notify0In">
				<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:emblaze" use="encoded"/>
			</input>
			<output name="notify0Out">
				<soap:body
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:emblaze" use="encoded"/>
			</output>
		</operation>
	</binding>
	<service name="emblaze.NotificationListener">
		<port binding="tns:NotificationListener"
name="NotificationListener">
			<soap:address
location="192.168.1.191:8008/soap/servlet/rpcrouter"/>
		</port>
	</service>
</definitions>


Thanks for you help.


> Eran Moss
> Integration team leader
ORCA INTERACTIVE LTD
1 Sapir St. P.O.Box 12721
IND- Zone Herzeliyya 46733
Israel

Tel: +972-9-9564444
Fax: +972-9-9564447
Mobile: +972-54-510950
www.OrcaInteractive.com