Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » doc/lit and document titles
doc/lit and document titles [message #581554] Fri, 05 October 2007 17:19
Jesse Pangburn is currently offline Jesse PangburnFriend
Messages: 166
Registered: July 2009
Senior Member
Hi,
First I want to thank you guys for your presentation on OHF yesterday at
the Workshop. I'm sorry I had to dash out early to catch a flight, I
scheduled it thinking people would just be goofing off by that time in the
afternoon- wish I had known the OHF stuff was going to be going on at that
time :-(

Anyway, I have a couple questions.
1. Why no support for doc/lit style web services? WSI (which IBM is a
part of) recommends doc/lit for best interoperability. Is it just the
choice of platform, Axis? My platform only supports being a consumer of
doc/lit web services, which is why I'm asking.

For our own usage, I tried reconfiguring the server-config.wsdd to use the
'style="wrapped"' mode. It does then give you a doc/lit WSDL, but the web
service's reply messages don't conform to the WSDL- wrong element names,
wrong namespaces, etc. I found some patches for Axis that aren't approved
yet, but which got me 90% of the way to fixing this problem (since I've
never used Axis before and didn't have a clue where to start), but still
returned XML that didn't quite validate against the schema. Anyway, by
reading the code in the patches I figured out the last 10% enough to patch
Axis to return XML that validates against the schema- at least for the OHF
Bridge. I put one little hardcoding in there, since as a complete Axis
noob I don't know how to retrieve a certain namespace from the
server-config.wsdd. But with the right entry in server-config.wsdd (to
match the hardcoding), it works perfectly. For this, I just patched the
Axis jar and copied it into the bundle. I only have the OHF bundles
building properly in eclipse, not Axis and the other bundles.

I can supply the Axis.jar and the server-config.wsdd to go with it, if
anyone else is unable to consume rpc/encoded services. Since that's
probably a very small group, I suspect I'm probably the only one here that
needs this- but thought I'd ask about future built-in support for doc/lit
anyway.

2. There is no document title parameter in the Bridge when you submit a
document. I thought this was a field that users would want to be using,
so I was surprised it was missing. It's in the POJOs, and I've looked at
the Bridge code so it seems like it should be easy to add the title as a
parameter. I was just wondering if it was left out intentionally, or just
due to very busy schedules. I haven't fixed it myself due to just that
very thing :-)


I had another question, but can't remember right now. Also, I just wanted
to say thanks again for creating this and laying out the code so that it's
very easy to follow what's going on and make changes as needed.

thanks,
Jesse
Previous Topic:XDS pre-connectathon tests - how strict is it?
Next Topic:OHF Bridge Mesa test 10501
Goto Forum:
  


Current Time: Tue Apr 23 12:42:50 GMT 2024

Powered by FUDForum. Page generated in 0.02561 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top