02-05-2009, 08:21 AM
|
#1 (permalink)
|
| New Member
Join Date: Jan 2009 Model: 8700 PIN: N/A Carrier: Vodafone
Posts: 3
Post Thanks: 0 Thanked 0 Times in 0 Posts
| how to initiaize SOAPHeader from J2ME client Please Login to Remove! Hi,
how are the SOAPHeader elements to be initialized for a request
to a .net webservice
while invoking from a Microedition client
have generated a stub using the utility in Wireless Tool Kit 2.5.2
client app in JDE 4.6.1
setting the Stub propertied as below
service._setProperty(Stub.USERNAME_PROPERTY,strUse rName);
service._setProperty(Stub.PASSWORD_PROPERTY,strPas sword);
and having the tag [SoapHeader("credentialsHeader")]
in the service does not show the credentials being passed to the webservice
this however is working fine with a .net client
also do not see the class javax.xml.rpc.call or javax.xml.rpc.Service in my installation
TIA
-regards |
| Offline
| |