문제

My asmx Service is hosted on IIS. On making request from windows mobile 6.5 browser it returns HTTP 400 BAD REQUEST. While I run this service on local environment it works fine .... Kindly reply as soon as possible ... thanx

도움이 되었습니까?

해결책 2

Emulator issue !! when i installed my app in mobile and called web service from IIS .. it works fine.

--- > Emulator's unable to call web service installed on IIS

다른 팁

It would be good if you can elaborate more on the issue. Still I would like to give you few check lists.

1) To enable web service access outside localhost add the following to web.config

<configuration>
    <system.web>
        <webServices>
            <protocols>
                <add name="HttpGet"/>
                <add name="HttpPost"/>
            </protocols>
        </webServices>
    </system.web>
</configuration>

2) If you do not have a public IP then mobile and your IIS host should be on the same LAN.

3) Also enable sharing of data via USB in activesync. By doing this your mobile will share the internet from the host

Try these and let me know if it is working.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top