MCW_AuthorizationRequest_Package.xml
Thanks
Pushpa
But is it the same file or a complete and *identical* copy?
Please reread my previous responses as well Pushpa, you are missing some
detail from your question(s) that could help us help you.
The Channel name and code version and the packager definition content
must precisely match at client and server.
Can you add a logger to your Channel and Packager on both client and
server and share all the output?
There is a mismatch somewhere, you just seem to need need help in
finding where.
--
Mark
Before I ask you for all your code and packager config, can I check...
> Client
> -----------
> <log realm="GenericPackager" at="Mon Jan 31 10:13:33 GMT+05:30
> 2011.149">
> <pack>
>
> 30313030433030303030303030303030303030303132313233343536373839313132
> </pack>
> </log>
> <log realm="test-channel/127.0.0.1:8000" at="Mon Jan 31 10:13:33 GMT
> +05:30 2011.149">
> <send>
> <isomsg direction="outgoing">
> <!-- org.jpos.iso.packager.GenericPackager[messages/
> MCW_AuthorizationRequest_Package.xml] -->
> <field id="0" value="0100"/>
> <field id="1" value="4000000000000000"/>
What is this value meant to be?
If it is the bitmap, then you don't need to set this (jPOS takes care of
it) and I think it could be causing the message out of your client to be
invalid.
> <field id="2" value="123456789112"/>
> </isomsg>
> </send>
> </log>
> <log realm="test-channel/127.0.0.1:8000" at="Mon Jan 31 10:13:33 GMT
> +05:30 2011.259" lifespan="94ms">
> <receive>
> <peer-disconnect/>
> </receive>
> </log>
>
--
Mark
> It works now, thanks for your reply. when I removed Bitmap, requests
> and responses are exchanged correctly.
It always worked, you were breaking it 8).
It does raise the interesting question about what is happening though...
...handcrafting the bitmap seems to be what a few people think is
needed; in some cases it causes problems, but if it is possible to
block/prevent it without disabling function for those that need it...
... probably low priority, but thanks for coming back to confirm my
guess was right.
For 'SOLVED' completeness, the bitmap arriving at the server looked
wrong to me and indicated that there were more fields present than there
really were, sending the unpack off the end of the available data.
Removing the code setting field 1 - bitmap (as it is not required) seems
to have sorted the problem.
--
Mark