Hello ,
  I gave incomplete information in my previous mail
about this problem. I am specifying the parameter
values as below. 

ID -> urn:AddressFetcher

Scope -> Application

Methods -> getAddressFromName addEntry getAllListings
putListings

Provider Type -> Java

Provider Class -> samples.addressbook.AddressBook
Static -> No

Type Mappings
-------------
No. of mappings -> 2 (is this correct??)

type mappings for the 1st object --
Encoding style -> SOAP
Element Type ->
Namespace URI :
/**problem seems to be in the part below**/
http://schemas.xmlsoap.org/soap/encoding/
Local Part: xml-soap-address-demo:address
/**end of problem area**/
Java Type -> samples.addressbook.Address
Java to XML Serializer ->
org.apache.soap.encoding.soapenc.BeanSerializer
XML to Java Deserializer ->
org.apache.soap.encoding.soapenc.BeanSerializer

Similary I give type mappings for the 2nd object (for
PhoneNumber)

When I deploy the service, I get the message "Service
urn:AddressFetcher deployed."

When I try to invoke a method of this service from
command line as -
java samples.addressbook.PutAddress
http://localhost:8080/soap/servlet/rpcrouter "John
Doe" 123 "Main Street" AnyTown SS 12345 800 555 1212

I get the error message "Generated fault:
[Attributes={}] [faultCode=SOAP-ENV:Client]
[faultString=No Des
erializer found to deserialize a
'urn:xml-soap-address-demo:address' using encod
ing style
'http://schemas.xmlsoap.org/soap/encoding/'.]
[faultActorURI=/soap/ser
vlet/rpcrouter] [DetailEntries=] [FaultEntries=] "


When I see the service properties in List option, I
see in Type Mappings section elementType appearing as
"elementType=http://schemas.xmlsoap.org/soap/encoding/:xml-soap-address-demo:address";.
It seems to me, problem is in this part.

Can somebody please help me with this. I'll appreciate
an early response.

Regards,
Mukul





__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to