BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 02-05-2009, 09:21 AM   #1 (permalink)
New Member
Join Date: Jan 2009
Model: 8700
Carrier: Vodafone
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to initiaize SOAPHeader from J2ME client

Please Login to Remove!


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 or javax.xml.rpc.Service in my installation


Copyright 2004-2016
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.