on 04-22-2008 6:44 AM
Hi
i have create a Web Service using a BDC. and nowaday i have to move from school to onsite.
my school have it own server and onsite has their own.
but the web service i have created in school is working fine, but somehow when i copy it to the onsite company it give INTERNAL SERVER ERROR
my code sure no error because it able to run fine in school
so is there any setting so solve this error??
thanks
guanwei
HI Guanwei,
Only copying a web service to other server is not going to work.
You application have to point to the web service of of your new server.
1. test your webservice through webbrowser and make sure it is running on your new server.
2. in your application just like execute(), you have setEndpoint(), setuser() and setpassword() methods use them to point to same webservice but on new server.
e.g..
wdContext.nodewebservice.().currentwebserviceelement().modelObject()._setEndPoint(point to new server);
wdContext.nodewebservice.().currentwebserviceelement().modelObject()._setUser();
wdContext.nodewebservice.().currentwebserviceelement().modelObject()._setPassword();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi thanks for reply,
i not copy the ws to onsite, i copy the BDC code to onsite and create a ws using that BDC. the BDC code is run fine at onsite also.
my bdc is to set company code to what i want.
but the BDC will show success and Fail
i have use many ways to test this.
in school: my ws will show fail But Onsite : show internal server error
if i try to set different company code
both site will show success
the internal server error come out after i click the "send" button.( if i trying to set the same company code to FB60 )
i really dont know what is wrong about it, can guide me
thanks
guanwei
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.