• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

TextMessage in IBM Websphere Application Server 8.5.5

Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers

I wanted to implment JAX-WS client for a webservice with SOAP over JMS transport and deploy in IBM Websphere 8.5.5.

I managed to develop , deployclient and post message onto destination (JMS Queue). But, the messsage is alsway sent at bytes message.

I undetrstood from IBM documentation that default message format is bytes (BYTES).

Any one knows how to make it TextMessage.

PS: I tried all possibilites of IBM documentation, but no luck.

webpage 1

webpage 2
Any one faced similar problem.. ?

Thanks !
Sujeeth Pakala
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem solved.

Solution is format of JMS endpoint URL in IBM WAS8.5.5 is changed to :


example :


The property messageType=TEXT instructs IBM JAX-WS runtime to use TextMessage (by default it uses BytesMessage)

PS: the properties jndiConnectionFactoryName and targetService are mandatory.
Creator of Enthuware JWS+ V6
Posts: 3346
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well done and thanks for sharing your solution!
This. Exactly this. This is what my therapist has been talking about. And now with a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic