Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Debug XML web services

  Asked By: Abhilash    Date: May 04    Category: Sharepoint    Views: 1016

I have create a web service on a remote server where
the share point portal server is installed for
uploading file to document library, its working fine
but i want to debug the same.

I can debug a normal Hello World Web service created
on the same server but cannoy debug this Web Service.

Web service created for Share point portal has some
extra steps for creating the .aspx of wsdl and disco
and the dll is located in Local_Drive:\Program
Files\Common Files\Microsoft Shared\Web Server
Extensions\ISAPI directory of the portal server ..so
is that the reason for not getting the web service
Is there any way of debugging this wenb service



3 Answers Found

Answer #1    Answered By: Perla Vang     Answered On: May 04

You should be able to debug  by attaching to the w3wp.exe process corresponding
to the application pool you are using to run the web  service.

Answer #2    Answered By: Sandra Alexander     Answered On: May 04

but i have tried doing
that too it does not work.

Normal Hello World web  service works the same way but
Web service  developed for share  point portal  server
does not work.

If my WebService name is "DWM" it gets compiles in
DWM\bin directory  and then i copy the same dll  and put
in bin directory of C:\Program Files\Common
Files\Microsoft Shared\Web Server
Extensions\ISAPI\bin ,
so my client application is accessing from this root
and not from DWM\bin directory

As when i click on "Start without debugging", its
getting run in DWM\bin but my client is accessing is
from C:\Program Files\Common Files\Microsoft
Shared\Web server  Extensions\ISAPI\bin,so i guess i am
not able to debug  ..
is there any way to debug such dll.

Answer #3    Answered By: Nalin Rao     Answered On: May 04

I was able to debug  after copying the pdb file  ,
earlier i was only copying the .dll file.

Didn't find what you were looking for? Find more on Debug XML web services Or get search suggestion and latest updates.