smileNewfreedom

블로그 이미지
freedom 모든 자유와 시간을 위해.....
by 다크포스
12-04 00:23
  • 680,205Total hit
  • 0Today hit
  • 5Yesterday hit

CALENDAR

«   2021/12   »
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  


Moss를 사용시 WebServiceConnection class 사용법

Does anybody know how to use this method to update data using a web service
call ....


I am getting the following error!


"Exception from HRESULT: 0x8004304D"
at
Microsoft.Office.InfoPath.Internal.MomExceptionHelper.ExecuteDataConnectionAction(OMCall
d)
at
Microsoft.Office.InfoPath.Internal.WebServiceConnectionHost.Execute(XPathNavigator
input, XPathNavigator output, XPathNavigator errors)
at InfoPathBook.FormCode.btnSubmit_Clicked(Object sender,
ClickedEventArgs e)


My code is ...


// Create XmlDocuments.


XmlDocument inputDocument = new XmlDocument();


XmlDocument outputDocument = new XmlDocument();


XmlDocument errorsDocument = new XmlDocument();


// Create XPathNavigator objects for documents.


XPathNavigator inputNav = this.MainDataSource.CreateNavigator();


XPathNavigator outputNav = outputDocument.CreateNavigator();


XPathNavigator errorsNav = errorsDocument.CreateNavigator();


WebServiceConnection wsc =
(WebServiceConnection)this.DataConnections["MyServicePUT"];


Trace.WriteLine(inputNav.OuterXml);


wsc.Execute(inputNav, outputNav, errorsNav);
링크 주소 =>
http://www.developerfood.com/how-to-use-webserviceconnection-to-call-webservoce/microsoft-public-infopath/e6344bd5-bc13-4b74-93eb-318e419b6ae0/article.aspx
TRACKBACK 0 AND COMMENT 1
  1. Favicon of http://hotwomen-2008.com/pv/chubby-picture-pussy BlogIcon chubby picture pussy 2008.03.13 05:48 address edit/delete reply

    중대한 위치 축하!경이롭 위치!





ARTICLE CATEGORY

분류 전체보기 (534)
멋진 사진들 (8)
배경화면들 (3)
.NET (112)
연애이슈 (65)
게임관련 (15)
경제 이슈 (60)
모델 (0)
사진(취미) (14)
노래 (8)
호주워킹홀리데이 (11)
Javascript (2)
Ajax (4)
스포츠 (74)
우주/과학/생활 (95)
Windows 2008 (19)
Silverlight (2)
여행 (6)
MS 자격증 (2)
해외이슈 (4)
IT정보 (16)
Server (5)
애니매이션 (9)