D
D
Dmitry Vasilyuk2014-10-23 16:35:25
PHP
Dmitry Vasilyuk, 2014-10-23 16:35:25

What WSDL template engine should I use to create classes?

There is a ready-made wsdl, there is a framework that generates methods and classes according to WSDL. Need to know how to use these classes in the future?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Max, 2016-12-07
@AN_ANT

[A-Za-z.-_]+means any conic of characters, consisting of letters, hyphens, dots, and underscores. those. At the very least, it's worth adding numbers here. now 2gis.ru, for example, will not be parsed.
well, you can enter the number of characters after the dot, the domain is classically from 2 to 4 characters. Make "2 or more" - already ps will be discarded.

A
Andrew, 2016-12-07
@impwx

The closest thing is to list a list of possible top level domains, like this:
In recent years, things have been complicated by the popularity of gTLDs and nTLDs. For example, is the string "my.coffee" a domain or a missing space? It turns out that it can be registered .
For reliability, I would do this - if the line starts with www, httpor has slashes, most likely this is a link and any domain can be used there. If it's just a string of two words separated by dots, then look at a limited list of known first-level domains.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question