G
Guest
I'm developing a PPC 2003 client that consumes a web service that simply
returns the text entered into a text box. It's a trivial app we are using to
test WLAN communications between the client and our server (iSeries
WebSphere). Everything is working correctly except the remote exceptions
thrown as soap exceptions.
What I don't understand why I can catch the SoapException in the PPC 2003
emulator but not on the PPC 2003 device.
Here's the client code:
Dim WebSvc As New WebReference.WebServiceTestService
Try
Me.TextBox2.Text = WebSvc.SendRequest(Me.TextBox1.Text)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
When running in the emulator the debugger shows ex.Message with the correct
value "java.rmi.RemoteException: My test error message."
When running on the device the debugger show ex.Message with the value "A
namespace for the prefix has not been declared."
Thanks in advance.
returns the text entered into a text box. It's a trivial app we are using to
test WLAN communications between the client and our server (iSeries
WebSphere). Everything is working correctly except the remote exceptions
thrown as soap exceptions.
What I don't understand why I can catch the SoapException in the PPC 2003
emulator but not on the PPC 2003 device.
Here's the client code:
Dim WebSvc As New WebReference.WebServiceTestService
Try
Me.TextBox2.Text = WebSvc.SendRequest(Me.TextBox1.Text)
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
When running in the emulator the debugger shows ex.Message with the correct
value "java.rmi.RemoteException: My test error message."
When running on the device the debugger show ex.Message with the value "A
namespace for the prefix has not been declared."
Thanks in advance.