Silverlight에서 사용하려는 GetDataWorkflowService.xamlx라는 worflow 서비스가 하나 있습니다.Silverlight에서 워크 플로 서비스에 액세스하려면 어떻게해야합니까?
내 응용 프로그램에 서비스 참조를 추가하면 '이 작업은 상대 URI에 대해 지원되지 않습니다.'라는 메시지가 표시됩니다. 그러나 여전히 참고 문헌을 추가합니다. 나는 다음과 같은 오류가
Servicelient proxy=new ServiceClient();
proxy.GetDataCompleted += (o, a) => Debug.WriteLine("Result is " + a.Result);
proxy.GetDataAsync(123);
:
나는 referece를 사용
는An error occurred while trying to make a request to URI 'http://localhost:1234/GetDataWorkflowService.xamlx'. This could be due to attempting to access a service in a cross-domain way without a proper cross-domain policy in place, or a policy that is unsuitable for SOAP services. You may need to contact the owner of the service to publish a cross-domain policy file and to ensure it allows SOAP-related HTTP headers to be sent. This error may also be caused by using internal types in the web service proxy without using the InternalsVisibleToAttribute attribute. Please see the inner exception for more details.
나는 무슨 일이 일어나고 있는지 이해가 안 돼요.
"자세한 내용은 내부 예외를 참조하십시오." 그리고 내부의 예외는 무엇입니까? – Will