> Thanks for responding. What would happen then? The external part (the
> client) is running a java client written in BEA Weblogic. And in their
[quoted text clipped - 14 lines]
> If I change web.config the way you suggest here, will they still could
> put in the url: http://......asmx?wsdl

Signature
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer
> > Thanks for responding. What would happen then? The external part (the
> > client) is running a java client written in BEA Weblogic. And in their
[quoted text clipped - 27 lines]
>
> - Vis sitert tekst -
OK. I may have been unclear about this. Our external part is a bigger
national state register in Norway and they have developed a contract
to their communicating parties which delivers services to them in form
of web services. They don't want to change their contract interface
when new parties are added. Therefore they just add the url in form of
a "http:/...asmx?wsdl" in a record in a database table. We, which must
serve the contract, a web service with one method, 3 string arguments,
returns a string, and we must use a specific target namespace and
service name. I have tried to follow these rules but it won't work.
the client program (java) complains about port name and binding in the
service name tag, which I have not found how to change. These
attributes are generated when compiling the web services.
I could send you the wsdl file so you can take a look at it. I have
tried using the wsdl.exe program and the wscf program from
thinktecture, but that generated a web service that was not good. Now
I have no clue to solve this. I though I could fake the web service in
a way, but I havenot found out how.
Any suggestion
regards
Geir F
John Saunders [MVP] - 01 Mar 2008 18:51 GMT
> OK. I may have been unclear about this. Our external part is a bigger
> national state register in Norway and they have developed a contract
> to their communicating parties which delivers services to them in form
> of web services. They don't want to change their contract interface
> when new parties are added. Therefore they just add the url in form of
> a "http:/...asmx?wsdl" in a record in a database table.
Couldn't they put http://server/Service.wsdl in their table instead? If
they're doing this generically, then they must be prepared to deal with
non-.NET servers, meaning they can't reply on .asmx meaning something. I bet
their system stores the entire URL to the WSDL. So, have them insert the URL
to the actual WSDL.
Then, the only question is, does your service actually act as though it
implemented the WSDL correctly?
An alternate way to look at the problem may be to assume that you _are_
doing something wrong. Maybe .NET is actually creating the WSDL correctly,
based on how you wrote your service. So, maybe you wrote the service
incorrectly.
Can you simplify this to the point where you can send me the WSDL and a
trivial version of the web service code? By trivial, I mean, no
implementation at all; just the [WebService] class and the [WebMethod]
methods, and any additionally classes necessary to make the code compile.
Then, e-mail me the resulting project (you can guess the e-mail address),
and I'll try to take a quick look at it. Note that I don't have much time
for this sort of thing right now, so you'll have a better chance of me
looking at it if you take the time to simplify the code so that I can try to
find the answer quickly, in my "copious spare time".

Signature
--------------------------------------------------------------------------------
John Saunders | MVP - Windows Server System - Connected System Developer